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
,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.iterator.CloseableIterator
EMPTY
Fields inherited from interface io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfShort
EMPTY
-
Constructor Summary
ConstructorDescriptionSerialShortColumnIterator
(@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 TypeMethodDescriptionshort
Returns the nextshort
element in the iteration.Methods inherited from class io.deephaven.engine.table.iterators.SerialColumnIterator
hasNext, make, remaining
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfShort
adaptToOfInt, forEachRemaining
Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
Methods inherited from interface io.deephaven.engine.table.iterators.ShortColumnIterator
forEachRemaining, next, stream, 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
- TheColumnSource
to fetch values fromrowSet
- TheRowSet
to iterate overfirstRowKey
- The first row key fromrowSet
to 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
- TheColumnSource
to fetch values fromrowSet
- TheRowSet
to iterate over
-
-
Method Details
-
nextShort
public short nextShort()Description copied from interface:CloseablePrimitiveIteratorOfShort
Returns the nextshort
element in the iteration.- Specified by:
nextShort
in interfaceCloseablePrimitiveIteratorOfShort
- Returns:
- The next
short
element in the iteration
-