Class MultiLevelIndex.Reader.IndexIterator
- java.lang.Object
-
- org.apache.accumulo.core.file.rfile.MultiLevelIndex.Reader.IndexIterator
-
- All Implemented Interfaces:
Iterator<MultiLevelIndex.IndexEntry>,ListIterator<MultiLevelIndex.IndexEntry>
- Enclosing class:
- MultiLevelIndex.Reader
public static class MultiLevelIndex.Reader.IndexIterator extends Object implements ListIterator<MultiLevelIndex.IndexEntry>
-
-
Constructor Summary
Constructors Constructor Description IndexIterator()IndexIterator(MultiLevelIndex.Reader.Node node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(MultiLevelIndex.IndexEntry e)booleanhasNext()booleanhasPrevious()MultiLevelIndex.IndexEntrynext()intnextIndex()MultiLevelIndex.IndexEntrypeek()MultiLevelIndex.IndexEntrypeekPrevious()MultiLevelIndex.IndexEntryprevious()intpreviousIndex()voidremove()voidset(MultiLevelIndex.IndexEntry e)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
IndexIterator
public IndexIterator()
-
IndexIterator
public IndexIterator(MultiLevelIndex.Reader.Node node)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<MultiLevelIndex.IndexEntry>- Specified by:
hasNextin interfaceListIterator<MultiLevelIndex.IndexEntry>
-
peekPrevious
public MultiLevelIndex.IndexEntry peekPrevious()
-
peek
public MultiLevelIndex.IndexEntry peek()
-
next
public MultiLevelIndex.IndexEntry next()
- Specified by:
nextin interfaceIterator<MultiLevelIndex.IndexEntry>- Specified by:
nextin interfaceListIterator<MultiLevelIndex.IndexEntry>
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceListIterator<MultiLevelIndex.IndexEntry>
-
previous
public MultiLevelIndex.IndexEntry previous()
- Specified by:
previousin interfaceListIterator<MultiLevelIndex.IndexEntry>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<MultiLevelIndex.IndexEntry>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<MultiLevelIndex.IndexEntry>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<MultiLevelIndex.IndexEntry>- Specified by:
removein interfaceListIterator<MultiLevelIndex.IndexEntry>
-
set
public void set(MultiLevelIndex.IndexEntry e)
- Specified by:
setin interfaceListIterator<MultiLevelIndex.IndexEntry>
-
add
public void add(MultiLevelIndex.IndexEntry e)
- Specified by:
addin interfaceListIterator<MultiLevelIndex.IndexEntry>
-
-