Uses of Interface
java.util.Spliterator.OfLong
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.OfLong in java.util
Modifier and TypeClassDescriptionstatic class
An abstractSpliterator.OfLong
that implementstrySplit
to permit limited parallelism.Modifier and TypeMethodDescriptionstatic Spliterator.OfLong
Spliterators.emptyLongSpliterator()
Creates an emptySpliterator.OfLong
static Spliterator.OfLong
Arrays.spliterator
(long[] array) Returns aSpliterator.OfLong
covering all of the specified array.static Spliterator.OfLong
Arrays.spliterator
(long[] array, int startInclusive, int endExclusive) Returns aSpliterator.OfLong
covering the specified range of the specified array.static Spliterator.OfLong
Spliterators.spliterator
(long[] array, int additionalCharacteristics) Creates aSpliterator.OfLong
covering the elements of a given array, using a customized set of spliterator characteristics.static Spliterator.OfLong
Spliterators.spliterator
(long[] array, int fromIndex, int toIndex, int additionalCharacteristics) Creates aSpliterator.OfLong
covering a range of elements of a given array, using a customized set of spliterator characteristics.static Spliterator.OfLong
Spliterators.spliterator
(PrimitiveIterator.OfLong iterator, long size, int characteristics) Creates aSpliterator.OfLong
using a givenLongStream.LongIterator
as the source of elements, and with a given initially reported size.static Spliterator.OfLong
Spliterators.spliteratorUnknownSize
(PrimitiveIterator.OfLong iterator, int characteristics) Creates aSpliterator.OfLong
using a givenLongStream.LongIterator
as the source of elements, with no initial size estimate.Spliterators.AbstractLongSpliterator.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.OfLong
Spliterators.iterator
(Spliterator.OfLong spliterator) Creates anPrimitiveIterator.OfLong
from aSpliterator.OfLong
. -
Uses of Spliterator.OfLong in java.util.stream
Modifier and TypeMethodDescriptionstatic LongStream
StreamSupport.longStream
(Spliterator.OfLong spliterator, boolean parallel) Creates a new sequential or parallelLongStream
from aSpliterator.OfLong
.Modifier and TypeMethodDescriptionstatic LongStream
StreamSupport.longStream
(Supplier<? extends Spliterator.OfLong> supplier, int characteristics, boolean parallel) Creates a new sequential or parallelLongStream
from aSupplier
ofSpliterator.OfLong
.