Class SerialCharacterColumnIterator
java.lang.Object
io.deephaven.engine.table.iterators.SerialColumnIterator<Character>
io.deephaven.engine.table.iterators.SerialCharacterColumnIterator
- All Implemented Interfaces:
CloseableIterator<Character>
,CloseablePrimitiveIterator<Character,
,CharConsumer> CloseablePrimitiveIteratorOfChar
,CharacterColumnIterator
,ColumnIterator<Character>
,SafeCloseable
,AutoCloseable
,Iterator<Character>
,PrimitiveIterator<Character,
CharConsumer>
public final class SerialCharacterColumnIterator
extends SerialColumnIterator<Character>
implements CharacterColumnIterator
Serial
CharacterColumnIterator
implementation for column sources
of primitive chars.-
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.CloseablePrimitiveIteratorOfChar
EMPTY
-
Constructor Summary
ConstructorDescriptionSerialCharacterColumnIterator
(@NotNull ColumnSource<Character> columnSource, @NotNull RowSet rowSet) Create a new SerialCharacterColumnIterator.SerialCharacterColumnIterator
(@NotNull ColumnSource<Character> columnSource, @NotNull RowSet rowSet, long firstRowKey, long length) Create a new SerialCharacterColumnIterator. -
Method Summary
Modifier and TypeMethodDescriptionchar
nextChar()
Returns the nextchar
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.table.iterators.CharacterColumnIterator
forEachRemaining, next, stream, streamAsInt, streamAsInt
Methods inherited from interface io.deephaven.engine.primitive.iterator.CloseablePrimitiveIteratorOfChar
adaptToOfInt, forEachRemaining
Methods inherited from interface io.deephaven.engine.table.iterators.ColumnIterator
close, remaining
-
Constructor Details
-
SerialCharacterColumnIterator
public SerialCharacterColumnIterator(@NotNull @NotNull ColumnSource<Character> columnSource, @NotNull @NotNull RowSet rowSet, long firstRowKey, long length) Create a new SerialCharacterColumnIterator.- 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
-
SerialCharacterColumnIterator
public SerialCharacterColumnIterator(@NotNull @NotNull ColumnSource<Character> columnSource, @NotNull @NotNull RowSet rowSet) Create a new SerialCharacterColumnIterator.- Parameters:
columnSource
- TheColumnSource
to fetch values fromrowSet
- TheRowSet
to iterate over
-
-
Method Details
-
nextChar
public char nextChar()Description copied from interface:CloseablePrimitiveIteratorOfChar
Returns the nextchar
element in the iteration.- Specified by:
nextChar
in interfaceCloseablePrimitiveIteratorOfChar
- Returns:
- The next
char
element in the iteration
-