JavaScript is disabled on your browser.
All Superinterfaces:
AutoCloseable , CloseableIterator <Long >, CloseablePrimitiveIterator <Long ,LongConsumer >, CloseablePrimitiveIteratorOfLong , Iterator <Long >, PrimitiveIterator <Long ,LongConsumer >, PrimitiveIterator.OfLong , ValueIterator <Long >
All Known Subinterfaces:
LongColumnIterator
All Known Implementing Classes:
ChunkedLongColumnIterator , SerialLongColumnIterator
Field Summary
Fields
A re-usable, immutable ValueIteratorOfLong with no elements.
Method Summary
All Methods Static Methods Instance Methods Default Methods
Get a ValueIteratorOfLong with no elements.
default void
Create an unboxed
LongStream over the remaining elements of this ValueIteratorOfLong.
of (@org.jetbrains.annotations.NotNull long... values)
Create a ValueIteratorOfLong over an array of long.
Create a boxed
Stream over the remaining elements of this ValueIteratorOfLong.
Wraps a ValueIteratorOfLong with set number of prefix nulls, postfix nulls, or both.
Field Details
EMPTY
A re-usable, immutable ValueIteratorOfLong with no elements.
Method Details
forEachRemaining
Specified by:
forEachRemaining in interface Iterator <Long >
Specified by:
forEachRemaining in interface PrimitiveIterator.OfLong
longStream
Create an unboxed
LongStream over the remaining elements of this ValueIteratorOfLong. The result
must be
closed in order to ensure resources are released. A
try-with-resources block is strongly encouraged.
Specified by:
longStream in interface CloseablePrimitiveIteratorOfLong
Returns:
An unboxed LongStream over the remaining contents of this iterator. Must be closed .
stream
Create a boxed
Stream over the remaining elements of this ValueIteratorOfLong. The result
must
be
closed in order to ensure resources are released. A
try-with-resources block is strongly encouraged.
Specified by:
stream in interface CloseableIterator <Long >
Specified by:
stream in interface ValueIterator <Long >
Returns:
A boxed Stream over the remaining contents of this iterator. Must be closed .
empty
Get a ValueIteratorOfLong with no elements. The result does not need to be
closed.
Returns:
A ValueIteratorOfLong with no elements
of
Create a ValueIteratorOfLong over an array of
long. The result does not need to be
closed.
Parameters:
values - The elements to iterate
Returns:
A ValueIteratorOfLong of values
wrapWithNulls
Wraps a ValueIteratorOfLong with set number of prefix nulls, postfix nulls, or both. The result must be
closed.
Parameters:
iterator - The ValueIteratorOfLong to wrap
prefixNulls - The number of nulls to add to the beginning of the iterator
postfixNulls - The number of nulls to add to the end of the iterator
Returns:
A ValueIteratorOfLong with the specified number of prefix and postfix nulls