Interface IntegerColumnIterator
- All Superinterfaces:
AutoCloseable
,CloseableIterator<Integer>
,CloseablePrimitiveIterator<Integer,
,IntConsumer> CloseablePrimitiveIteratorOfInt
,ColumnIterator<Integer>
,Iterator<Integer>
,PrimitiveIterator<Integer,
,IntConsumer> PrimitiveIterator.OfInt
,SafeCloseable
- All Known Implementing Classes:
ChunkedIntegerColumnIterator
,SerialIntegerColumnIterator
public interface IntegerColumnIterator
extends ColumnIterator<Integer>, CloseablePrimitiveIteratorOfInt
ColumnIterator
implementation for columns of primitive ints.-
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.CloseablePrimitiveIteratorOfInt
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
forEachRemaining
(@NotNull Consumer<? super Integer> action) default IntStream
Create an unboxedIntStream
over the remaining elements of this IntegerColumnIterator.default Integer
next()
stream()
Create a boxedStream
over the remaining elements of this IntegerColumnIterator.Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
Methods inherited from interface java.util.PrimitiveIterator.OfInt
forEachRemaining, nextInt
-
Method Details
-
next
- Specified by:
next
in interfaceIterator<Integer>
- Specified by:
next
in interfacePrimitiveIterator.OfInt
-
forEachRemaining
- Specified by:
forEachRemaining
in interfaceIterator<Integer>
- Specified by:
forEachRemaining
in interfacePrimitiveIterator.OfInt
-
intStream
Create an unboxedIntStream
over the remaining elements of this IntegerColumnIterator. The result must beclosed
in order to ensure resources are released. A try-with-resources block is strongly encouraged.- Specified by:
intStream
in interfaceCloseablePrimitiveIteratorOfInt
- Returns:
- An unboxed
IntStream
over the remaining contents of this iterator. Must beclosed
.
-
stream
Create a boxedStream
over the remaining elements of this IntegerColumnIterator. The result must beclosed
in order to ensure resources are released. A try-with-resources block is strongly encouraged.- Specified by:
stream
in interfaceCloseableIterator<Integer>
- Returns:
- A boxed
Stream
over the remaining contents of this iterator. Must beclosed
.
-