Class ShortSegmentedSortedArray.Iterator
java.lang.Object
io.deephaven.engine.table.impl.ssa.ShortSegmentedSortedArray.Iterator
- Enclosing class:
- ShortSegmentedSortedArray
-
Method Summary
Modifier and TypeMethodDescriptionvoid
advanceToBeforeFirst
(short value) Advance this iterator to one position before the lowest value that is less than or equal to value.void
advanceToLast
(short 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()
short
getValue()
boolean
hasNext()
void
next()
long
nextKey()
short
-
Method Details
-
next
public void next() -
hasNext
public boolean hasNext() -
getValue
public short getValue() -
nextValue
public short nextValue() -
getKey
public long getKey() -
nextKey
public long nextKey() -
advanceToLast
public void advanceToLast(short 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(short 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.
-