| 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<T> | Iterable. spliterator()Creates a  Spliteratorover the elements described by thisIterable. | 
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | Spliterator.OfDoubleA Spliterator specialized for  doublevalues. | 
| static interface  | Spliterator.OfIntA Spliterator specialized for  intvalues. | 
| static interface  | Spliterator.OfLongA Spliterator specialized for  longvalues. | 
| static interface  | Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>A Spliterator specialized for primitive values. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Spliterators.AbstractDoubleSpliteratorAn abstract  Spliterator.OfDoublethat implementstrySplitto permit limited parallelism. | 
| static class  | Spliterators.AbstractIntSpliteratorAn abstract  Spliterator.OfIntthat implementstrySplitto
 permit limited parallelism. | 
| static class  | Spliterators.AbstractLongSpliteratorAn abstract  Spliterator.OfLongthat implementstrySplitto permit limited parallelism. | 
| static class  | Spliterators.AbstractSpliterator<T>An abstract  Spliteratorthat implementstrySplitto
 permit limited parallelism. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Spliterator<T> | Spliterators. emptySpliterator()Creates an empty  Spliterator | 
| Spliterator<E> | LinkedHashSet. spliterator()Creates a late-binding
 and fail-fast  Spliteratorover the elements in this set. | 
| Spliterator<E> | TreeSet. spliterator()Creates a late-binding
 and fail-fast  Spliteratorover the elements in this
 set. | 
| Spliterator<E> | Vector. spliterator()Creates a late-binding
 and fail-fast  Spliteratorover the elements in this
 list. | 
| default Spliterator<E> | SortedSet. spliterator()Creates a  Spliteratorover the elements in this sorted set. | 
| Spliterator<E> | PriorityQueue. spliterator()Creates a late-binding
 and fail-fast  Spliteratorover the elements in this
 queue. | 
| default Spliterator<E> | Collection. spliterator()Creates a  Spliteratorover the elements in this collection. | 
| Spliterator<E> | ArrayList. spliterator()Creates a late-binding
 and fail-fast  Spliteratorover the elements in this
 list. | 
| default Spliterator<E> | Set. spliterator()Creates a  Spliteratorover the elements in this set. | 
| default Spliterator<E> | List. spliterator()Creates a  Spliteratorover the elements in this list. | 
| Spliterator<E> | HashSet. spliterator()Creates a late-binding
 and fail-fast  Spliteratorover the elements in this
 set. | 
| Spliterator<E> | LinkedList. spliterator()Creates a late-binding
 and fail-fast  Spliteratorover the elements in this
 list. | 
| Spliterator<E> | ArrayDeque. spliterator()Creates a late-binding
 and fail-fast  Spliteratorover the elements in this
 deque. | 
| static <T> Spliterator<T> | Spliterators. spliterator(Collection<? extends T> c,
           int characteristics)Creates a  Spliteratorusing the given collection'sCollection.iterator()as the source of elements, and
 reporting itsCollection.size()as its initial size. | 
| static <T> Spliterator<T> | Spliterators. spliterator(Iterator<? extends T> iterator,
           long size,
           int characteristics)Creates a  Spliteratorusing a givenIteratoras the source of elements, and with a given initially reported size. | 
| static <T> Spliterator<T> | Spliterators. spliterator(Object[] array,
           int additionalCharacteristics)Creates a  Spliteratorcovering 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  Spliteratorcovering 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  Spliteratorcovering all of the specified array. | 
| static <T> Spliterator<T> | Arrays. spliterator(T[] array,
           int startInclusive,
           int endExclusive)Returns a  Spliteratorcovering the specified range of the
 specified array. | 
| static <T> Spliterator<T> | Spliterators. spliteratorUnknownSize(Iterator<? extends T> iterator,
                      int characteristics)Creates a  Spliteratorusing a givenIteratoras the source of elements, with no initial size estimate. | 
| 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. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Iterator<T> | Spliterators. iterator(Spliterator<? extends T> spliterator)Creates an  Iteratorfrom aSpliterator. | 
| Modifier and Type | Method and Description | 
|---|---|
| Spliterator<E> | LinkedBlockingDeque. spliterator()Returns a  Spliteratorover the elements in this deque. | 
| Spliterator<E> | SynchronousQueue. spliterator()Returns an empty spliterator in which calls to
  trySplit()always returnnull. | 
| Spliterator<E> | ConcurrentLinkedDeque. spliterator()Returns a  Spliteratorover the elements in this deque. | 
| Spliterator<E> | LinkedBlockingQueue. spliterator()Returns a  Spliteratorover the elements in this queue. | 
| Spliterator<E> | ConcurrentLinkedQueue. spliterator()Returns a  Spliteratorover the elements in this queue. | 
| Spliterator<E> | PriorityBlockingQueue. spliterator()Returns a  Spliteratorover the elements in this queue. | 
| Spliterator<E> | CopyOnWriteArrayList. spliterator()Returns a  Spliteratorover the elements in this list. | 
| Spliterator<E> | CopyOnWriteArraySet. spliterator()Returns a  Spliteratorover the elements in this set in the order
 in which these elements were added. | 
| Spliterator<E> | ArrayBlockingQueue. spliterator()Returns a  Spliteratorover the elements in this queue. | 
| Spliterator<E> | ConcurrentSkipListSet. spliterator()Returns a  Spliteratorover the elements in this set. | 
| Spliterator<K> | ConcurrentHashMap.KeySetView. spliterator() | 
| Spliterator<E> | LinkedTransferQueue. spliterator()Returns a  Spliteratorover the elements in this queue. | 
| Modifier and Type | Method and Description | 
|---|---|
| Spliterator<T> | BaseStream. spliterator()Returns a spliterator for the elements of this stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Stream<T> | StreamSupport. stream(Spliterator<T> spliterator,
      boolean parallel)Creates a new sequential or parallel  Streamfrom aSpliterator. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> Stream<T> | StreamSupport. stream(Supplier<? extends Spliterator<T>> supplier,
      int characteristics,
      boolean parallel)Creates a new sequential or parallel  Streamfrom aSupplierofSpliterator. | 
 Submit a bug or feature 
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, 2015, Oracle and/or its affiliates.  All rights reserved.