GeezerVison is showing docs.oracle.com — Uses of Interface java.util.Spliterator (Java SE 16 & JDK 16)
Uses of Interface java.util.Spliterator
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
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.
Utility classes commonly useful in concurrent programming.
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
Classes to support low-level and efficient foreign memory/function access, directly from Java.
-
Modifier and Type
Method
Description
Creates a Spliterator over the elements described by this
Iterable.
-
Modifier and Type
Interface
Description
static interface
A Spliterator specialized for double values.
static interface
A Spliterator specialized for int values.
static interface
A Spliterator specialized for long values.
static interface
A Spliterator specialized for primitive values.
Modifier and Type
Class
Description
static class
An abstract Spliterator.OfDouble that implements
trySplit to permit limited parallelism.
static class
An abstract Spliterator.OfInt that implements trySplit to
permit limited parallelism.
static class
An abstract Spliterator.OfLong that implements trySplit
to permit limited parallelism.
static class
An abstract Spliterator that implements trySplit to
permit limited parallelism.
Modifier and Type
Method
Description
Creates an empty Spliterator
Returns a Spliterator covering all of the specified array.
Arrays.spliterator(T[] array,
int startInclusive,
int endExclusive)
Returns a Spliterator covering the specified range of the
specified array.
Creates a Spliterator over the elements in this collection.
Creates a late-binding
and fail-fast Spliterator over the elements in this set.
Creates a Spliterator over the elements in this set.
Creates a Spliterator over the elements in this sorted set.
Creates a Spliterator covering the elements of a given array,
using a customized set of spliterator characteristics.
Spliterators.spliterator(Object[] array,
int fromIndex,
int toIndex,
int additionalCharacteristics)
Creates a Spliterator covering a range of elements of a given
array, using a customized set of spliterator characteristics.
Creates a Spliterator using a given Iterator
as the source of elements, and with a given initially reported size.
Creates a Spliterator using a given Iterator
as the source of elements, with no initial size estimate.
If this spliterator can be partitioned, returns a Spliterator
covering elements, that will, upon return from this method, not
be covered by this Spliterator.
Spliterators.AbstractSpliterator.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 Type
Method
Description
Creates an Iterator from a Spliterator.
-
Modifier and Type
Method
Description
Returns a Spliterator over the elements in this set in the order
in which these elements were added.
Returns an empty spliterator in which calls to
trySplit always return null.
-
Modifier and Type
Method
Description
Returns a spliterator for the elements of this stream.
Modifier and Type
Method
Description
Creates a new sequential or parallel Stream from a
Spliterator.
Modifier and Type
Method
Description
Creates a new sequential or parallel Stream from a
Supplier of Spliterator.
-
Modifier and Type
Method
Description
Returns a spliterator for this memory segment.
|