Class Heap.UnorderedIter
- java.lang.Object
-
- elki.utilities.datastructures.heap.Heap.UnorderedIter
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
pos
Current iterator position.
-
Constructor Summary
Constructors Modifier Constructor Description protected
UnorderedIter()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Heap.UnorderedIter
advance()
Moves the iterator forward to the next entry.E
get()
Get the current queue element.boolean
valid()
Returns true if the iterator currently points to a valid object.
-
-
-
Method Detail
-
valid
public boolean valid()
Description copied from interface:Iter
Returns true if the iterator currently points to a valid object.
-
advance
public Heap.UnorderedIter advance()
Description copied from interface:Iter
Moves the iterator forward to the next entry.
-
get
public E get()
Get the current queue element.- Returns:
- Element
-
-