Package elki.database.ids.integer
Class DoubleIntegerDBIDHeap.UnorderedIter
- java.lang.Object
-
- elki.database.ids.integer.DoubleIntegerDBIDHeap.UnorderedIter
-
- All Implemented Interfaces:
DBIDIter,DBIDRef,DoubleDBIDIter,Iter
- Enclosing class:
- DoubleIntegerDBIDHeap
protected class DoubleIntegerDBIDHeap.UnorderedIter extends java.lang.Object implements DoubleDBIDIter
Iterate over all objects in the heap, not ordered.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private DoubleIntegerHeap.UnsortedIteritIterator of the real heap.
-
Constructor Summary
Constructors Modifier Constructor Description protectedUnorderedIter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleDBIDIteradvance()Moves the iterator forward to the next entry.doubledoubleValue()Get the double valueintinternalGetIndex()Internal only: Get the internal index.booleanvalid()Returns true if the iterator currently points to a valid object.
-
-
-
Field Detail
-
it
private DoubleIntegerHeap.UnsortedIter it
Iterator of the real heap.
-
-
Method Detail
-
internalGetIndex
public int internalGetIndex()
Description copied from interface:DBIDRefInternal only: Get the internal index.NOT FOR PUBLIC USE - ELKI Optimization engine only.
- Specified by:
internalGetIndexin interfaceDBIDRef- Returns:
- Internal index
-
valid
public boolean valid()
Description copied from interface:IterReturns true if the iterator currently points to a valid object.
-
doubleValue
public double doubleValue()
Description copied from interface:DoubleDBIDIterGet the double value- Specified by:
doubleValuein interfaceDoubleDBIDIter- Returns:
- double value
-
advance
public DoubleDBIDIter advance()
Description copied from interface:IterMoves the iterator forward to the next entry.
-
-