APIdia Launch Partner
Top Description Inners Constructors Methods
java.util.stream

pack-priv final Class SortedOps

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Arrays, .Comparator, .Objects, .Spliterator, java.util.function.IntFunction

Factory methods for transforming streams into sorted streams.
Since
1.8

Nested and Inner Type Summary

Modifier and TypeClass and Description
private abstract static class
SortedOps.AbstractDoubleSortingSink

Abstract Sink for implementing sort on long streams.

private abstract static class
SortedOps.AbstractIntSortingSink

Abstract Sink for implementing sort on int streams.

private abstract static class
SortedOps.AbstractLongSortingSink

Abstract Sink for implementing sort on long streams.

private abstract static class
SortedOps.AbstractRefSortingSink<T>

Abstract Sink for implementing sort on reference streams.

private static class
SortedOps.DoubleSortingSink

Sink for implementing sort on double streams.

private static class
SortedOps.IntSortingSink

Sink for implementing sort on int streams.

private static class
SortedOps.LongSortingSink

Sink for implementing sort on long streams.

private static class
SortedOps.OfDouble

Specialized subtype for sorting double streams.

private static class
SortedOps.OfInt

Specialized subtype for sorting int streams.

private static class
SortedOps.OfLong

Specialized subtype for sorting long streams.

private static class
SortedOps.OfRef<T>

Specialized subtype for sorting reference streams

private static class
SortedOps.RefSortingSink<T>

Sink for implementing sort on reference streams.

private static class
SortedOps.SizedDoubleSortingSink

Sink for implementing sort on SIZED double streams.

private static class
SortedOps.SizedIntSortingSink

Sink for implementing sort on SIZED int streams.

private static class
SortedOps.SizedLongSortingSink

Sink for implementing sort on SIZED long streams.

private static class
SortedOps.SizedRefSortingSink<T>

Sink for implementing sort on SIZED reference streams.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static <
the type of both input and output elements
T
>
DoubleStream
makeDouble(AbstractPipeline<?, Double, ?>
a reference stream with element type T
upstream
)

Appends a "sorted" operation to the provided stream.

pack-priv static <
the type of both input and output elements
T
>
IntStream
makeInt(AbstractPipeline<?, Integer, ?>
a reference stream with element type T
upstream
)

Appends a "sorted" operation to the provided stream.

pack-priv static <
the type of both input and output elements
T
>
LongStream
makeLong(AbstractPipeline<?, Long, ?>
a reference stream with element type T
upstream
)

Appends a "sorted" operation to the provided stream.

pack-priv static <
the type of both input and output elements
T
>
Stream<T>
makeRef(AbstractPipeline<?, T, ?>
a reference stream with element type T
upstream
)

Appends a "sorted" operation to the provided stream.

pack-priv static <
the type of both input and output elements
T
>
Stream<T>
makeRef(AbstractPipeline<?, T, ?>
a reference stream with element type T
upstream
,
Comparator<? super T>
the comparator to order elements by
comparator
)

Appends a "sorted" operation to the provided stream.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait