| 构造器和说明 |
|---|
LeafNodeIterator(Art art,
boolean reverse,
Containers containers)
constructor
|
LeafNodeIterator(Art art,
boolean reverse,
Containers containers,
long from)
constructor
|
LeafNodeIterator(Art art,
Containers containers)
constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasNext() |
LeafNode |
next() |
LeafNode |
peekNext()
Return the next leaf without advancing the iterator.
|
void |
remove() |
void |
seek(long boundval)
Move this iterator to the leaf that contains `boundval`.
|
public LeafNodeIterator(Art art, Containers containers)
art - the ARTcontainers - the containerspublic LeafNodeIterator(Art art, boolean reverse, Containers containers)
art - the ARTreverse - false: ascending order,true: the descending ordercontainers - the containerspublic LeafNodeIterator(Art art, boolean reverse, Containers containers, long from)
art - the ARTreverse - false: ascending order,true: the descending ordercontainers - the containersfrom - starting upper/lower boundpublic boolean hasNext()
hasNext 在接口中 java.util.Iterator<LeafNode>public void remove()
remove 在接口中 java.util.Iterator<LeafNode>public void seek(long boundval)
public LeafNode peekNext()