| Package | Description |
|---|---|
| java.lang |
Provides classes that are fundamental to the design of the Java programming language.
|
| java.util |
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| java.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 |
|---|---|
default Spliterator |
Iterable.spliterator()
Creates a
Spliterator over the elements described by this
Iterable.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Spliterator
A Spliterator specialized for
double values.
|
static interface |
Spliterator
A Spliterator specialized for
int values.
|
static interface |
Spliterator
A Spliterator specialized for
long values.
|
static interface |
Spliterator
A Spliterator specialized for primitive values.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Spliterators
An abstract
Spliterator.OfDouble that implements
trySplit to permit limited parallelism.
|
static class |
Spliterators
An abstract
Spliterator.OfInt that implements
trySplit to permit limited parallelism.
|
static class |
Spliterators
An abstract
Spliterator.OfLong that implements
trySplit to permit limited parallelism.
|
static class |
Spliterators
An abstract
Spliterator that implements
trySplit to permit limited parallelism.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Spliterator |
Spliterators.emptySpliterator()
Creates an empty
Spliterator
|
Spliterator |
Vector.spliterator()
Creates a
late-binding and
fail-fast
Spliterator over the elements in this list.
|
Spliterator |
LinkedHashSet.spliterator()
Creates a
late-binding and
fail-fast
Spliterator over the elements in this set.
|
Spliterator |
ArrayDeque.spliterator()
Creates a
late-binding and
fail-fast
Spliterator over the elements in this deque.
|
default Spliterator |
Collection.spliterator()
Creates a
Spliterator over the elements in this collection.
|
default Spliterator |
Set.spliterator()
Creates a
Spliterator over the elements in this set.
|
Spliterator |
HashSet.spliterator()
Creates a
late-binding and
fail-fast
Spliterator over the elements in this set.
|
default Spliterator |
List.spliterator()
Creates a
Spliterator over the elements in this list.
|
Spliterator |
TreeSet.spliterator()
Creates a
late-binding and
fail-fast
Spliterator over the elements in this set.
|
default Spliterator |
SortedSet.spliterator()
Creates a
Spliterator over the elements in this sorted set.
|
Spliterator |
ArrayList.spliterator()
Creates a
late-binding and
fail-fast
Spliterator over the elements in this list.
|
Spliterator |
LinkedList.spliterator()
Creates a
late-binding and
fail-fast
Spliterator over the elements in this list.
|
Spliterator |
PriorityQueue.spliterator()
Creates a
late-binding and
fail-fast
Spliterator over the elements in this queue.
|
static <T> Spliterator |
Spliterators.spliterator(Collection
Creates a
Spliterator using the given collection's
Collection as the source of elements, and reporting its
Collection as its initial size.
|
static <T> Spliterator |
Spliterators.spliterator(Iterator
Creates a
Spliterator using a given
Iterator as the source of elements, and with a given initially reported size.
|
static <T> Spliterator |
Spliterators.spliterator(Object
Creates a
Spliterator covering the elements of a given array, using a customized set of spliterator characteristics.
|
static <T> Spliterator |
Spliterators.spliterator(Object
Creates a
Spliterator covering a range of elements of a given array, using a customized set of spliterator characteristics.
|
static <T> Spliterator |
Arrays.spliterator(T[] array)
Returns a
Spliterator covering all of the specified array.
|
static <T> Spliterator |
Arrays.spliterator(T[] array, int startInclusive, int endExclusive)
Returns a
Spliterator covering the specified range of the specified array.
|
static <T> Spliterator |
Spliterators.spliteratorUnknownSize(Iterator
Creates a
Spliterator using a given
Iterator as the source of elements, with no initial size estimate.
|
Spliterator |
Spliterator.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.
|
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 and Description |
|---|---|
static <T> Iterator |
Spliterators.iterator(Spliterator
Creates an
Iterator from a
Spliterator.
|
| Modifier and Type | Method and Description |
|---|---|
Spliterator |
SynchronousQueue.spliterator()
Returns an empty spliterator in which calls to
trySplit() always return
null.
|
Spliterator |
ConcurrentLinkedQueue.spliterator()
Returns a
Spliterator over the elements in this queue.
|
Spliterator |
ConcurrentLinkedDeque.spliterator()
Returns a
Spliterator over the elements in this deque.
|
Spliterator |
LinkedBlockingQueue.spliterator()
Returns a
Spliterator over the elements in this queue.
|
Spliterator |
CopyOnWriteArraySet.spliterator()
Returns a
Spliterator over the elements in this set in the order in which these elements were added.
|
Spliterator |
ConcurrentHashMap.KeySetView.spliterator()
|
Spliterator |
LinkedTransferQueue.spliterator()
Returns a
Spliterator over the elements in this queue.
|
Spliterator |
ArrayBlockingQueue.spliterator()
Returns a
Spliterator over the elements in this queue.
|
Spliterator |
LinkedBlockingDeque.spliterator()
Returns a
Spliterator over the elements in this deque.
|
Spliterator |
ConcurrentSkipListSet.spliterator()
Returns a
Spliterator over the elements in this set.
|
Spliterator |
PriorityBlockingQueue.spliterator()
Returns a
Spliterator over the elements in this queue.
|
Spliterator |
CopyOnWriteArrayList.spliterator()
Returns a
Spliterator over the elements in this list.
|
| Modifier and Type | Method and Description |
|---|---|
Spliterator |
BaseStream.spliterator()
Returns a spliterator for the elements of this stream.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Stream |
StreamSupport.stream(Spliterator
Creates a new sequential or parallel
Stream from a
Spliterator.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Stream |
StreamSupport.stream(Supplier
Creates a new sequential or parallel
Stream from a
Supplier of
Spliterator.
|