Class SerialShortColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.SerialColumnIterator<Short>
io.deephaven.engine.table.iterators.SerialShortColumnIterator
- All Implemented Interfaces:
CloseableIterator<Short>,CloseablePrimitiveIterator<Short,,ShortConsumer> CloseablePrimitiveIteratorOfShort,ValueIterator<Short>,ValueIteratorOfShort,ColumnIterator<Short>,ShortColumnIterator,SafeCloseable,AutoCloseable,Iterator<Short>,PrimitiveIterator<Short,ShortConsumer>
public final class SerialShortColumnIterator
extends SerialColumnIterator<Short>
implements ShortColumnIterator
Serial
ShortColumnIterator implementation for column sources of primitive shorts.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Field Summary
Fields inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIterator
EMPTYFields inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIteratorOfShort
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionSerialShortColumnIterator(@NotNull ColumnSource<Short> columnSource, @NotNull RowSet rowSet) Create a new SerialShortColumnIterator.SerialShortColumnIterator(@NotNull ColumnSource<Short> columnSource, @NotNull RowSet rowSet, long firstRowKey, long length) Create a new SerialShortColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionshortReturns the nextshortelement in the iteration.Methods inherited from class io.deephaven.engine.table.iterators.SerialColumnIterator
hasNext, make, remainingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfShort
adaptToOfInt, forEachRemainingMethods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
closeMethods inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIterator
remaining, streamMethods inherited from interface io.deephaven.engine.primitive.value.iterator.ValueIteratorOfShort
forEachRemaining, next, streamAsInt, streamAsInt
-
Constructor Details
-
SerialShortColumnIterator
public SerialShortColumnIterator(@NotNull @NotNull ColumnSource<Short> columnSource, @NotNull @NotNull RowSet rowSet, long firstRowKey, long length) Create a new SerialShortColumnIterator.- Parameters:
columnSource- TheColumnSourceto fetch values fromrowSet- TheRowSetto iterate overfirstRowKey- The first row key fromrowSetto iteratelength- The total number of rows to iterate
-
SerialShortColumnIterator
public SerialShortColumnIterator(@NotNull @NotNull ColumnSource<Short> columnSource, @NotNull @NotNull RowSet rowSet) Create a new SerialShortColumnIterator.- Parameters:
columnSource- TheColumnSourceto fetch values fromrowSet- TheRowSetto iterate over
-
-
Method Details
-
nextShort
public short nextShort()Description copied from interface:CloseablePrimitiveIteratorOfShortReturns the nextshortelement in the iteration.- Specified by:
nextShortin interfaceCloseablePrimitiveIteratorOfShort- Returns:
- The next
shortelement in the iteration
-