Package elki.index.tree.betula
Class CFTree.LeafIterator<L extends ClusterFeature>
- java.lang.Object
-
- elki.index.tree.betula.CFTree.LeafIterator<L>
-
- All Implemented Interfaces:
Iter
- Enclosing class:
- CFTree<L extends ClusterFeature>
public static class CFTree.LeafIterator<L extends ClusterFeature> extends java.lang.Object implements Iter
Iterator over leaf nodes.- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LeafIterator(CFNode<L> root)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iter
advance()
Moves the iterator forward to the next entry.L
get()
Get the current leaf.boolean
valid()
Returns true if the iterator currently points to a valid object.
-
-
-
Field Detail
-
queue
private java.util.ArrayList<java.lang.Object> queue
Queue of open ends.
-
current
private L extends ClusterFeature current
Current leaf entry.
-
-