Interface FloatColumnIterator
- All Superinterfaces:
AutoCloseable
,CloseableIterator<Float>
,CloseablePrimitiveIterator<Float,
,FloatConsumer> CloseablePrimitiveIteratorOfFloat
,ColumnIterator<Float>
,Iterator<Float>
,PrimitiveIterator<Float,
,FloatConsumer> SafeCloseable
- All Known Implementing Classes:
ChunkedFloatColumnIterator
,SerialFloatColumnIterator
public interface FloatColumnIterator
extends ColumnIterator<Float>, CloseablePrimitiveIteratorOfFloat
ColumnIterator
implementation for columns 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
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
forEachRemaining
(@NotNull Consumer<? super Float> action) default Float
next()
stream()
Create a boxedStream
over the remaining elements of this FloatColumnIterator.default DoubleStream
Create an unboxedDoubleStream
over the remaining elements of this ChunkedFloatColumnIterator by casting each element todouble
with the appropriate adjustment ofNULL_FLOAT
toNULL_DOUBLE
.default DoubleStream
streamAsDouble
(@NotNull FloatToDoubleFunction adapter) Create aDoubleStream
over the remaining elements of this ChunkedFloatColumnIterator by applyingadapter
to each element.Methods inherited from interface io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfFloat
adaptToOfDouble, forEachRemaining, nextFloat
Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
-
Method Details
-
next
- Specified by:
next
in interfaceCloseablePrimitiveIteratorOfFloat
- Specified by:
next
in interfaceIterator<Float>
-
forEachRemaining
- Specified by:
forEachRemaining
in interfaceCloseablePrimitiveIteratorOfFloat
- Specified by:
forEachRemaining
in interfaceIterator<Float>
-
streamAsDouble
Create aDoubleStream
over the remaining elements of this ChunkedFloatColumnIterator by applyingadapter
to each element. The result must beclosed
in order to ensure resources are released. A try-with-resources block is strongly encouraged.- Specified by:
streamAsDouble
in interfaceCloseablePrimitiveIteratorOfFloat
- Returns:
- A
DoubleStream
over the remaining contents of this iterator. Must beclosed
.
-
streamAsDouble
Create an unboxedDoubleStream
over the remaining elements of this ChunkedFloatColumnIterator by casting each element todouble
with the appropriate adjustment ofNULL_FLOAT
toNULL_DOUBLE
. The result must beclosed
in order to ensure resources are released. A try-with-resources block is strongly encouraged.- Specified by:
streamAsDouble
in interfaceCloseablePrimitiveIteratorOfFloat
- Returns:
- An unboxed
DoubleStream
over the remaining contents of this iterator. Must beclosed
.
-
stream
Create a boxedStream
over the remaining elements of this FloatColumnIterator. The result must beclosed
in order to ensure resources are released. A try-with-resources block is strongly encouraged.- Specified by:
stream
in interfaceCloseableIterator<Float>
- Returns:
- A boxed
Stream
over the remaining contents of this iterator. Must beclosed
.
-