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 |
---|
ItrAnc(O start)
Constructor for descendants-only.
|
ItrAnc(O start,
O extra)
Constructor with additional element.
|
Modifier and Type | Method and Description |
---|---|
Hierarchy.Iter<O> |
advance()
Moves the iterator forward to the next entry.
|
O |
get()
Access the current object.
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
final Hierarchy.Iter<O> parentiter
Hierarchy.Iter<O> subiter
O extra
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.