de.lmu.ifi.dbs.elki.utilities.datastructures.hierarchy
Class HierarchyReferenceLists.ItrDesc
java.lang.Object
de.lmu.ifi.dbs.elki.utilities.datastructures.hierarchy.HierarchyReferenceLists.ItrDesc
- All Implemented Interfaces:
- IterableIterator<O>, Iterable<O>, Iterator<O>
- Enclosing class:
- HierarchyReferenceLists<O extends Hierarchical<O>>
private class HierarchyReferenceLists.ItrDesc
- extends Object
- implements IterableIterator<O>
Iterator to collect into the descendants.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
childiter
final Iterator<O extends Hierarchical<O>> childiter
- Iterator over children
subiter
Iterator<O extends Hierarchical<O>> subiter
- Iterator of current child
HierarchyReferenceLists.ItrDesc
public HierarchyReferenceLists.ItrDesc(O start)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<O extends Hierarchical<O>>
next
public O next()
- Specified by:
next
in interface Iterator<O extends Hierarchical<O>>
remove
public void remove()
- Specified by:
remove
in interface Iterator<O extends Hierarchical<O>>
iterator
public Iterator<O> iterator()
- Specified by:
iterator
in interface Iterable<O extends Hierarchical<O>>