Uses of Interface
java.util.Spliterator.OfInt
Package
Description
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
-
Uses of Spliterator.OfInt in java.util
Modifier and TypeClassDescriptionstatic class
An abstractSpliterator.OfInt
that implementstrySplit
to permit limited parallelism.Modifier and TypeMethodDescriptionstatic Spliterator.OfInt
Spliterators.emptyIntSpliterator()
Creates an emptySpliterator.OfInt
static Spliterator.OfInt
Arrays.spliterator
(int[] array) Returns aSpliterator.OfInt
covering all of the specified array.static Spliterator.OfInt
Arrays.spliterator
(int[] array, int startInclusive, int endExclusive) Returns aSpliterator.OfInt
covering the specified range of the specified array.static Spliterator.OfInt
Spliterators.spliterator
(int[] array, int additionalCharacteristics) Creates aSpliterator.OfInt
covering the elements of a given array, using a customized set of spliterator characteristics.static Spliterator.OfInt
Spliterators.spliterator
(int[] array, int fromIndex, int toIndex, int additionalCharacteristics) Creates aSpliterator.OfInt
covering a range of elements of a given array, using a customized set of spliterator characteristics.static Spliterator.OfInt
Spliterators.spliterator
(PrimitiveIterator.OfInt iterator, long size, int characteristics) Creates aSpliterator.OfInt
using a givenIntStream.IntIterator
as the source of elements, and with a given initially reported size.static Spliterator.OfInt
Spliterators.spliteratorUnknownSize
(PrimitiveIterator.OfInt iterator, int characteristics) Creates aSpliterator.OfInt
using a givenIntStream.IntIterator
as the source of elements, with no initial size estimate.Spliterators.AbstractIntSpliterator.trySplit()
If this spliterator can be partitioned, returns a Spliterator covering elements, that will, upon return from this method, not be covered by this Spliterator.Modifier and TypeMethodDescriptionstatic PrimitiveIterator.OfInt
Spliterators.iterator
(Spliterator.OfInt spliterator) Creates anPrimitiveIterator.OfInt
from aSpliterator.OfInt
. -
Uses of Spliterator.OfInt in java.util.stream
Modifier and TypeMethodDescriptionstatic IntStream
StreamSupport.intStream
(Spliterator.OfInt spliterator, boolean parallel) Creates a new sequential or parallelIntStream
from aSpliterator.OfInt
.Modifier and TypeMethodDescriptionstatic IntStream
StreamSupport.intStream
(Supplier<? extends Spliterator.OfInt> supplier, int characteristics, boolean parallel) Creates a new sequential or parallelIntStream
from aSupplier
ofSpliterator.OfInt
.