Package | Description |
---|---|
java8.util |
Provides some of the new
java.util classes and implementations
of static and default interface methods added in Java 8. |
java8.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
Modifier and Type | Method and Description |
---|---|
static PrimitiveIterator.OfInt |
Spliterators.iterator(Spliterator.OfInt spliterator)
Creates an
PrimitiveIterator.OfInt from a
Spliterator.OfInt . |
Modifier and Type | Method and Description |
---|---|
static void |
Iterators.forEachRemaining(PrimitiveIterator.OfInt it,
IntConsumer action)
Performs the given action for each remaining element until all elements
have been processed or the action throws an exception.
|
static Spliterator.OfInt |
Spliterators.spliterator(PrimitiveIterator.OfInt iterator,
long size,
int characteristics)
Creates a
Spliterator.OfInt using a given
IntStream.IntIterator as the source of elements, and with a given
initially reported size. |
static Spliterator.OfInt |
Spliterators.spliteratorUnknownSize(PrimitiveIterator.OfInt iterator,
int characteristics)
Creates a
Spliterator.OfInt using a given
IntStream.IntIterator as the source of elements, with no initial
size estimate. |
Modifier and Type | Method and Description |
---|---|
PrimitiveIterator.OfInt |
IntStream.iterator() |