Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
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.stream |
java.util.stream
|
Modifier and Type | Interface and Description |
---|---|
static interface |
Spliterator.OfDouble
A Spliterator specialized for
double values. |
static interface |
Spliterator.OfInt
A Spliterator specialized for
int values. |
static interface |
Spliterator.OfLong
A Spliterator specialized for
long values. |
Modifier and Type | Class and Description |
---|---|
static class |
Spliterators.AbstractDoubleSpliterator
An abstract
Spliterator.OfDouble that implements
trySplit to permit limited parallelism. |
static class |
Spliterators.AbstractIntSpliterator
An abstract
Spliterator.OfInt that implements trySplit to
permit limited parallelism. |
static class |
Spliterators.AbstractLongSpliterator
An abstract
Spliterator.OfLong that implements trySplit
to permit limited parallelism. |
static class |
Spliterators.AbstractSpliterator<T>
An abstract
Spliterator that implements trySplit to
permit limited parallelism. |
Modifier and Type | Method and Description |
---|---|
static <T> Spliterator<T> |
Spliterators.emptySpliterator()
Creates an empty
Spliterator |
Spliterator<E> |
HashSet.spliterator() |
default Spliterator<E> |
List.spliterator()
Creates a
Spliterator over the elements in this list. |
Spliterator<E> |
ArrayList.spliterator() |
Spliterator<E> |
LinkedList.spliterator() |
Spliterator<E> |
TreeSet.spliterator() |
default Spliterator<E> |
Collection.spliterator()
Creates a
Spliterator over the elements in this collection. |
Spliterator<E> |
Vector.spliterator() |
Spliterator<E> |
ArrayDeque.spliterator() |
Spliterator<E> |
PriorityQueue.spliterator() |
Spliterator<E> |
LinkedHashSet.spliterator()
Creates a
Spliterator , over the elements in this set, that
reports SIZED , DISTINCT and ORDERED . |
default Spliterator<E> |
SortedSet.spliterator()
Creates a
Spliterator over the elements in this sorted set. |
default Spliterator<E> |
Set.spliterator()
Creates a
Spliterator over the elements in this set. |
static <T> Spliterator<T> |
Spliterators.spliterator(Collection<? extends T> c,
int additionalCharacteristics)
Creates a
Spliterator using the given collection's
Collection.iterator() as the source of elements, and
reporting its Collection.size() as its initial size. |
static <T> Spliterator<T> |
Spliterators.spliterator(Iterator<? extends T> iterator,
long size,
int additionalCharacteristics)
Creates a
Spliterator using a given Iterator
as the source of elements, and with a given initially reported size. |
static <T> Spliterator<T> |
Spliterators.spliterator(Object[] array,
int additionalCharacteristics)
Creates a
Spliterator covering the elements of a given array,
using a customized set of spliterator characteristics. |
static <T> Spliterator<T> |
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. |
static <T> Spliterator<T> |
Arrays.spliterator(T[] array)
Returns a
Spliterator covering all of the specified array. |
static <T> Spliterator<T> |
Arrays.spliterator(T[] array,
int startInclusive,
int endExclusive)
Returns a
Spliterator covering the specified range of the
specified array. |
static <T> Spliterator<T> |
Spliterators.spliteratorUnknownSize(Iterator<? extends T> iterator,
int characteristics)
Creates a
Spliterator using a given Iterator
as the source of elements, with no initial size estimate. |
Spliterator<T> |
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.
|
Spliterator<T> |
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.
|
Modifier and Type | Method and Description |
---|---|
static <T> Iterator<T> |
Spliterators.iteratorFromSpliterator(Spliterator<? extends T> spliterator)
Creates an
Iterator from a Spliterator . |
Modifier and Type | Method and Description |
---|---|
Spliterator<T> |
DelegatingStream.spliterator() |
Modifier and Type | Method and Description |
---|---|
static <T> Stream<T> |
StreamSupport.parallelStream(Spliterator<T> spliterator)
Creates a new parallel
Stream from a Spliterator . |
static <T> Stream<T> |
StreamSupport.stream(Spliterator<T> spliterator)
Creates a new sequential
Stream from a Spliterator . |
Modifier and Type | Method and Description |
---|---|
static <T> Stream<T> |
StreamSupport.parallelStream(Supplier<? extends Spliterator<T>> supplier,
int characteristics)
Creates a new parallel
Stream from a Supplier of
Spliterator . |
static <T> Stream<T> |
StreamSupport.stream(Supplier<? extends Spliterator<T>> supplier,
int characteristics)
Creates a new sequential
Stream from a Supplier of
Spliterator . |
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b92