private class HashMapHierarchy.ItrAnc extends Object implements Hierarchy.Iter<O>
Modifier and Type | Field and Description |
---|---|
(package private) O |
extra
Additional object to return as first result.
|
(package private) Hierarchy.Iter<O> |
parentiter
Iterator over children
|
(package private) Hierarchy.Iter<O> |
subiter
Iterator of current child
|
Constructor and Description |
---|
HashMapHierarchy.ItrAnc(O start)
Constructor for descendants-only.
|
HashMapHierarchy.ItrAnc(O start,
O extra)
Constructor with additional element.
|
final Hierarchy.Iter<O> parentiter
Hierarchy.Iter<O> subiter
O extra
HashMapHierarchy.ItrAnc(O start)
start
- Starting element.public boolean valid()
Iter
public Hierarchy.Iter<O> advance()
Iter
advance
in interface Hierarchy.Iter<O>
advance
in interface Iter
public O get()
Hierarchy.Iter
get
in interface Hierarchy.Iter<O>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.