public class SliceIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Long>
Modifier and Type | Class and Description |
---|---|
protected static class |
SliceIterator.STATE |
Modifier and Type | Field and Description |
---|---|
protected long |
index |
protected Slice |
slice |
protected SliceIterator.STATE |
state |
Constructor and Description |
---|
SliceIterator() |
SliceIterator(Slice slice) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getIndex() |
boolean |
hasNext() |
java.lang.Long |
next() |
void |
remove() |
void |
reset() |
java.lang.String |
toString() |
protected SliceIterator.STATE state
protected Slice slice
protected long index
public SliceIterator()
public SliceIterator(Slice slice)
public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Long>
public java.lang.Long next()
next
in interface java.util.Iterator<java.lang.Long>
public void remove()
remove
in interface java.util.Iterator<java.lang.Long>
public java.lang.Long getIndex()