Spliterators (Java SE 25 & JDK 25)
-
Nested Class Summary
Nested Classes
static classAn abstract
Spliterator.OfDoublethat implementstrySplitto permit limited parallelism.static classAn abstract
Spliterator.OfIntthat implementstrySplitto permit limited parallelism.static classAn abstract
Spliterator.OfLongthat implementstrySplitto permit limited parallelism.static classAn abstract
Spliteratorthat implementstrySplitto permit limited parallelism. -
Method Summary
Creates an empty
Spliterator.OfDoubleCreates an empty
Spliterator.OfIntCreates an empty
Spliterator.OfLongCreates an empty
SpliteratorCreates an
PrimitiveIterator.OfDoublefrom aSpliterator.OfDouble.Creates an
PrimitiveIterator.OfIntfrom aSpliterator.OfInt.Creates an
PrimitiveIterator.OfLongfrom aSpliterator.OfLong.Creates an
Iteratorfrom aSpliterator.spliterator(double[] array, int additionalCharacteristics) Creates a
Spliterator.OfDoublecovering the elements of a given array, using a customized set of spliterator characteristics.spliterator(double[] array, int fromIndex, int toIndex, int additionalCharacteristics) Creates a
Spliterator.OfDoublecovering a range of elements of a given array, using a customized set of spliterator characteristics.spliterator(int[] array, int additionalCharacteristics) Creates a
Spliterator.OfIntcovering the elements of a given array, using a customized set of spliterator characteristics.spliterator(int[] array, int fromIndex, int toIndex, int additionalCharacteristics) Creates a
Spliterator.OfIntcovering a range of elements of a given array, using a customized set of spliterator characteristics.spliterator(long[] array, int additionalCharacteristics) Creates a
Spliterator.OfLongcovering the elements of a given array, using a customized set of spliterator characteristics.spliterator(long[] array, int fromIndex, int toIndex, int additionalCharacteristics) Creates a
Spliterator.OfLongcovering a range of elements of a given array, using a customized set of spliterator characteristics.spliterator(Object[] array, int additionalCharacteristics) Creates a
Spliteratorcovering the elements of a given array, using a customized set of spliterator characteristics.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.spliterator(Collection<? extends T> c, int characteristics) Creates a
Spliteratorusing the given collection'siteratoras the source of elements, and reporting itssizeas its initial size.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.Creates a
Spliterator.OfDoubleusing a givenDoubleStream.DoubleIteratoras the source of elements, and with a given initially reported size.Creates a
Spliterator.OfIntusing a givenIntStream.IntIteratoras the source of elements, and with a given initially reported size.Creates a
Spliterator.OfLongusing a givenLongStream.LongIteratoras the source of elements, and with a given initially reported size.spliteratorUnknownSize(Iterator<? extends T> iterator, int characteristics) Creates a
Spliteratorusing a givenIteratoras the source of elements, with no initial size estimate.Creates a
Spliterator.OfDoubleusing a givenDoubleStream.DoubleIteratoras the source of elements, with no initial size estimate.Creates a
Spliterator.OfIntusing a givenIntStream.IntIteratoras the source of elements, with no initial size estimate.Creates a
Spliterator.OfLongusing a givenLongStream.LongIteratoras the source of elements, with no initial size estimate.
-
Method Details
-
emptySpliterator
-
emptyIntSpliterator
-
emptyLongSpliterator
-
emptyDoubleSpliterator
-
spliterator
-
spliterator
-
spliterator
-
spliterator
-
spliterator
-
spliterator
-
spliterator
-
spliterator
-
spliterator
-
spliterator
-
spliteratorUnknownSize
-
spliterator
-
spliteratorUnknownSize
-
spliterator
-
spliteratorUnknownSize
-
spliterator
-
spliteratorUnknownSize
-
iterator
-
iterator
-
iterator
-
iterator
-