public static class MultiLevelIndex.Reader.IndexIterator extends Object implements ListIterator<MultiLevelIndex.IndexEntry>
Constructor and Description |
---|
IndexIterator() |
IndexIterator(MultiLevelIndex.Reader.Node node) |
Modifier and Type | Method and Description |
---|---|
void |
add(MultiLevelIndex.IndexEntry e) |
boolean |
hasNext() |
boolean |
hasPrevious() |
MultiLevelIndex.IndexEntry |
next() |
int |
nextIndex() |
MultiLevelIndex.IndexEntry |
peek() |
MultiLevelIndex.IndexEntry |
peekPrevious() |
MultiLevelIndex.IndexEntry |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(MultiLevelIndex.IndexEntry e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public IndexIterator()
public IndexIterator(MultiLevelIndex.Reader.Node node)
public boolean hasNext()
hasNext
in interface Iterator<MultiLevelIndex.IndexEntry>
hasNext
in interface ListIterator<MultiLevelIndex.IndexEntry>
public MultiLevelIndex.IndexEntry peekPrevious()
public MultiLevelIndex.IndexEntry peek()
public MultiLevelIndex.IndexEntry next()
next
in interface Iterator<MultiLevelIndex.IndexEntry>
next
in interface ListIterator<MultiLevelIndex.IndexEntry>
public boolean hasPrevious()
hasPrevious
in interface ListIterator<MultiLevelIndex.IndexEntry>
public MultiLevelIndex.IndexEntry previous()
previous
in interface ListIterator<MultiLevelIndex.IndexEntry>
public int nextIndex()
nextIndex
in interface ListIterator<MultiLevelIndex.IndexEntry>
public int previousIndex()
previousIndex
in interface ListIterator<MultiLevelIndex.IndexEntry>
public void remove()
remove
in interface Iterator<MultiLevelIndex.IndexEntry>
remove
in interface ListIterator<MultiLevelIndex.IndexEntry>
public void set(MultiLevelIndex.IndexEntry e)
set
in interface ListIterator<MultiLevelIndex.IndexEntry>
public void add(MultiLevelIndex.IndexEntry e)
add
in interface ListIterator<MultiLevelIndex.IndexEntry>
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.