Class IntReverseSegmentedSortedArray.Iterator
java.lang.Object
io.deephaven.engine.table.impl.ssa.IntReverseSegmentedSortedArray.Iterator
- Enclosing class:
- IntReverseSegmentedSortedArray
-
Method Summary
Modifier and TypeMethodDescriptionvoid
advanceToBeforeFirst
(int value) Advance this iterator to one position before the lowest value that is less than or equal to value.void
advanceToLast
(int value) Advance this iterator to the highest value that is less than or equal to value.void
Advance the iterator to the last value which is equal to the current value.long
getKey()
int
getValue()
boolean
hasNext()
void
next()
long
nextKey()
int
-
Method Details
-
next
public void next() -
hasNext
public boolean hasNext() -
getValue
public int getValue() -
nextValue
public int nextValue() -
getKey
public long getKey() -
nextKey
public long nextKey() -
advanceToLast
public void advanceToLast(int value) Advance this iterator to the highest value that is less than or equal to value.- Parameters:
value
- the value we are searching for
-
advanceToBeforeFirst
public void advanceToBeforeFirst(int value) Advance this iterator to one position before the lowest value that is less than or equal to value.- Parameters:
value
- the value we are searching for
-
advanceWhileEqual
public void advanceWhileEqual()Advance the iterator to the last value which is equal to the current value.
-