Interface DoubleColumnIterator
- All Superinterfaces:
AutoCloseable
,CloseableIterator<Double>
,CloseablePrimitiveIterator<Double,
,DoubleConsumer> CloseablePrimitiveIteratorOfDouble
,ColumnIterator<Double>
,Iterator<Double>
,PrimitiveIterator<Double,
,DoubleConsumer> PrimitiveIterator.OfDouble
,SafeCloseable
- All Known Implementing Classes:
ChunkedDoubleColumnIterator
,SerialDoubleColumnIterator
public interface DoubleColumnIterator
extends ColumnIterator<Double>, CloseablePrimitiveIteratorOfDouble
ColumnIterator
implementation for columns of primitive doubles.-
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.CloseablePrimitiveIteratorOfDouble
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptiondefault DoubleStream
Create an unboxedDoubleStream
over the remaining elements of this DoubleColumnIterator.default void
forEachRemaining
(@NotNull Consumer<? super Double> action) default Double
next()
stream()
Create a boxedStream
over the remaining elements of this DoubleColumnIterator.Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
Methods inherited from interface java.util.PrimitiveIterator.OfDouble
forEachRemaining, nextDouble
-
Method Details
-
next
- Specified by:
next
in interfaceIterator<Double>
- Specified by:
next
in interfacePrimitiveIterator.OfDouble
-
forEachRemaining
- Specified by:
forEachRemaining
in interfaceIterator<Double>
- Specified by:
forEachRemaining
in interfacePrimitiveIterator.OfDouble
-
doubleStream
Create an unboxedDoubleStream
over the remaining elements of this DoubleColumnIterator. The result must beclosed
in order to ensure resources are released. A try-with-resources block is strongly encouraged.- Specified by:
doubleStream
in interfaceCloseablePrimitiveIteratorOfDouble
- Returns:
- An unboxed
DoubleStream
over the remaining contents of this iterator. Must beclosed
.
-
stream
Create a boxedStream
over the remaining elements of this DoubleColumnIterator. The result must beclosed
in order to ensure resources are released. A try-with-resources block is strongly encouraged.- Specified by:
stream
in interfaceCloseableIterator<Double>
- Returns:
- A boxed
Stream
over the remaining contents of this iterator. Must beclosed
.
-