dap4/d4core/src/main/java/dap4/core/util/SliceIterator.java
@Override
    public boolean hasNext()
    {
        switch (state) {
        case INITIAL:
            return (slice.getFirst() < slice.getStop());
        case STARTED:
            return (this.index < slice.getLast());
        case DONE:
        }
        return false;
    }
@Override
    public boolean hasNext()
    {
        switch (state) {
        case INITIAL:
            return (slice.getFirst() < slice.getStop());
        case STARTED:
            return (this.index < slice.getLast());
        case DONE:
        }
        return false;
    }
Iterator interface extended