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