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 privateLeafIterator(CFNode<L> root)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iteradvance()Moves the iterator forward to the next entry.Lget()Get the current leaf.booleanvalid()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.
-
-