Class SerialFloatColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.SerialColumnIterator<Float>
io.deephaven.engine.table.iterators.SerialFloatColumnIterator
- All Implemented Interfaces:
CloseableIterator<Float>
,CloseablePrimitiveIterator<Float,
,FloatConsumer> CloseablePrimitiveIteratorOfFloat
,ColumnIterator<Float>
,FloatColumnIterator
,SafeCloseable
,AutoCloseable
,Iterator<Float>
,PrimitiveIterator<Float,
FloatConsumer>
public final class SerialFloatColumnIterator
extends SerialColumnIterator<Float>
implements FloatColumnIterator
Serial
FloatColumnIterator
implementation for column sources
of primitive floats.-
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.CloseablePrimitiveIteratorOfFloat
EMPTY
-
Constructor Summary
ConstructorDescriptionSerialFloatColumnIterator
(@NotNull ColumnSource<Float> columnSource, @NotNull RowSet rowSet) Create a new SerialFloatColumnIterator.SerialFloatColumnIterator
(@NotNull ColumnSource<Float> columnSource, @NotNull RowSet rowSet, long firstRowKey, long length) Create a new SerialFloatColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionfloat
Returns the nextfloat
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.CloseablePrimitiveIteratorOfFloat
adaptToOfDouble, forEachRemaining
Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
Methods inherited from interface io.deephaven.engine.table.iterators.FloatColumnIterator
forEachRemaining, next, stream, streamAsDouble, streamAsDouble
-
Constructor Details
-
SerialFloatColumnIterator
public SerialFloatColumnIterator(@NotNull @NotNull ColumnSource<Float> columnSource, @NotNull @NotNull RowSet rowSet, long firstRowKey, long length) Create a new SerialFloatColumnIterator.- 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
-
SerialFloatColumnIterator
public SerialFloatColumnIterator(@NotNull @NotNull ColumnSource<Float> columnSource, @NotNull @NotNull RowSet rowSet) Create a new SerialFloatColumnIterator.- Parameters:
columnSource
- TheColumnSource
to fetch values fromrowSet
- TheRowSet
to iterate over
-
-
Method Details
-
nextFloat
public float nextFloat()Description copied from interface:CloseablePrimitiveIteratorOfFloat
Returns the nextfloat
element in the iteration.- Specified by:
nextFloat
in interfaceCloseablePrimitiveIteratorOfFloat
- Returns:
- The next
float
element in the iteration
-