org.helidb.util.bplus
Class BPlusTree.BPlusTreeNodeIterator
java.lang.Object
org.helidb.util.bplus.BPlusTree.BPlusTreeNodeIterator
- All Implemented Interfaces:
- Iterator<BPlusTreeLeafNode<K,V>>
- Enclosing class:
- BPlusTree<K,V>
protected class BPlusTree.BPlusTreeNodeIterator
- extends Object
- implements Iterator<BPlusTreeLeafNode<K,V>>
This is an Iterator
over the B+ Tree's leaf nodes. It may be used
by subclasses to process nodes.
- Since:
- 1.0
- Author:
- Karl Gustafsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BPlusTree.BPlusTreeNodeIterator
public BPlusTree.BPlusTreeNodeIterator()
throws UnsupportedOperationException
- Create a new iterator.
- Throws:
UnsupportedOperationException
- If the B+ Tree does not support
iteration.
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<BPlusTreeLeafNode<K,V>>
next
public BPlusTreeLeafNode<K,V> next()
- Specified by:
next
in interface Iterator<BPlusTreeLeafNode<K,V>>
remove
public void remove()
throws UnsupportedOperationException
- Specified by:
remove
in interface Iterator<BPlusTreeLeafNode<K,V>>
- Throws:
UnsupportedOperationException
- Always.