Uses of Interface
java.util.Spliterator
Packages that use 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.
-
Uses of Spliterator in java.lang
Methods in java.lang that return SpliteratorModifier and TypeMethodDescriptiondefault Spliterator<T>Iterable.spliterator()Creates aSpliteratorover the elements described by thisIterable. -
Uses of Spliterator in java.util
Subinterfaces of Spliterator in java.utilModifier and TypeInterfaceDescriptionstatic interfaceA Spliterator specialized fordoublevalues.static interfaceA Spliterator specialized forintvalues.static interfaceA Spliterator specialized forlongvalues.static interfaceSpliterator.OfPrimitive<T,T_CONS, T_SPLITR extends Spliterator.OfPrimitive<T, T_CONS, T_SPLITR>> A Spliterator specialized for primitive values.Classes in java.util that implement SpliteratorModifier and TypeClassDescriptionstatic classAn abstractSpliterator.OfDoublethat implementstrySplitto permit limited parallelism.static classAn abstractSpliterator.OfIntthat implementstrySplitto permit limited parallelism.static classAn abstractSpliterator.OfLongthat implementstrySplitto permit limited parallelism.static classAn abstractSpliteratorthat implementstrySplitto permit limited parallelism.Methods in java.util that return SpliteratorModifier and TypeMethodDescriptionstatic <T> Spliterator<T>Spliterators.emptySpliterator()Creates an emptySpliteratorArrayDeque.spliterator()Creates a late-binding and fail-fastSpliteratorover the elements in this deque.ArrayList.spliterator()Creates a late-binding and fail-fastSpliteratorover the elements in this list.static <T> Spliterator<T>Arrays.spliterator(T[] array) Returns aSpliteratorcovering all of the specified array.static <T> Spliterator<T>Arrays.spliterator(T[] array, int startInclusive, int endExclusive) Returns aSpliteratorcovering the specified range of the specified array.default Spliterator<E>Collection.spliterator()Creates aSpliteratorover the elements in this collection.HashSet.spliterator()Creates a late-binding and fail-fastSpliteratorover the elements in this set.LinkedHashSet.spliterator()Creates a late-binding and fail-fastSpliteratorover the elements in this set.LinkedList.spliterator()Creates a late-binding and fail-fastSpliteratorover the elements in this list.default Spliterator<E>List.spliterator()Creates aSpliteratorover the elements in this list.final Spliterator<E>PriorityQueue.spliterator()Creates a late-binding and fail-fastSpliteratorover the elements in this queue.default Spliterator<E>Set.spliterator()Creates aSpliteratorover the elements in this set.default Spliterator<E>SortedSet.spliterator()Creates aSpliteratorover the elements in this sorted set.static <T> Spliterator<T>Spliterators.spliterator(Object[] array, int additionalCharacteristics) Creates aSpliteratorcovering 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 aSpliteratorcovering a range of elements of a given array, using a customized set of spliterator characteristics.static <T> Spliterator<T>Spliterators.spliterator(Collection<? extends T> c, int characteristics) Creates aSpliteratorusing 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 aSpliteratorusing a givenIteratoras the source of elements, and with a given initially reported size.TreeSet.spliterator()Creates a late-binding and fail-fastSpliteratorover the elements in this set.Vector.spliterator()Creates a late-binding and fail-fastSpliteratorover the elements in this list.static <T> Spliterator<T>Spliterators.spliteratorUnknownSize(Iterator<? extends T> iterator, int characteristics) Creates aSpliteratorusing a givenIteratoras the source of elements, with no initial size estimate.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.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.Methods in java.util with parameters of type SpliteratorModifier and TypeMethodDescriptionstatic <T> Iterator<T>Spliterators.iterator(Spliterator<? extends T> spliterator) Creates anIteratorfrom aSpliterator. -
Uses of Spliterator in java.util.concurrent
Methods in java.util.concurrent that return SpliteratorModifier and TypeMethodDescriptionArrayBlockingQueue.spliterator()Returns aSpliteratorover the elements in this queue.ConcurrentLinkedDeque.spliterator()Returns aSpliteratorover the elements in this deque.ConcurrentLinkedQueue.spliterator()Returns aSpliteratorover the elements in this queue.ConcurrentSkipListSet.spliterator()Returns aSpliteratorover the elements in this set.CopyOnWriteArrayList.spliterator()Returns aSpliteratorover the elements in this list.CopyOnWriteArraySet.spliterator()Returns aSpliteratorover the elements in this set in the order in which these elements were added.LinkedBlockingDeque.spliterator()Returns aSpliteratorover the elements in this deque.LinkedBlockingQueue.spliterator()Returns aSpliteratorover the elements in this queue.LinkedTransferQueue.spliterator()Returns aSpliteratorover the elements in this queue.PriorityBlockingQueue.spliterator()Returns aSpliteratorover the elements in this queue.SynchronousQueue.spliterator()Returns an empty spliterator in which calls totrySplitalways returnnull. -
Uses of Spliterator in java.util.stream
Methods in java.util.stream that return SpliteratorModifier and TypeMethodDescriptionBaseStream.spliterator()Returns a spliterator for the elements of this stream.Methods in java.util.stream with parameters of type SpliteratorModifier and TypeMethodDescriptionstatic <T> Stream<T>StreamSupport.stream(Spliterator<T> spliterator, boolean parallel) Creates a new sequential or parallelStreamfrom aSpliterator.Method parameters in java.util.stream with type arguments of type SpliteratorModifier and TypeMethodDescriptionstatic <T> Stream<T>StreamSupport.stream(Supplier<? extends Spliterator<T>> supplier, int characteristics, boolean parallel) Creates a new sequential or parallelStreamfrom aSupplierofSpliterator. -
Uses of Spliterator in jdk.incubator.foreign
Methods in jdk.incubator.foreign that return SpliteratorModifier and TypeMethodDescriptionMemorySegment.spliterator(MemoryLayout elementLayout) Returns a spliterator for this memory segment.