RingJavafor Ring

java.util.stream

21 classes of the module java.base.

Load them with:

using {
	"java.util.stream"
}

All packages

BaseStream#

interface · java.util.stream.BaseStream

Extends: AutoCloseable

Methods

MethodRing callJava overloads
closeclose()void close()
isParallelisParallel()boolean isParallel()
iteratoriterator()Iterator iterator()
onCloseonClose(closeHandler)BaseStream onClose(Runnable closeHandler)
parallelparallel()BaseStream parallel()
sequentialsequential()BaseStream sequential()
spliteratorspliterator()Spliterator spliterator()
unorderedunordered()BaseStream unordered()

Collector#

interface · java.util.stream.Collector

Methods

MethodRing callJava overloads
accumulatoraccumulator()BiConsumer accumulator()
characteristicscharacteristics()Set characteristics()
combinercombiner()BinaryOperator combiner()
finisherfinisher()Function finisher()
ofof([supplier,accumulator,combiner,characteristics])
of([ :supplier = v, :accumulator = v, :combiner = v, :characteristics = v ])
of([supplier,accumulator,combiner,finisher,characteristics])
of([ :supplier = v, :accumulator = v, :combiner = v, :finisher = v, :characteristics = v ])
static Collector of(Supplier supplier, BiConsumer accumulator, BinaryOperator combiner, Characteristics[] characteristics)
static Collector of(Supplier supplier, BiConsumer accumulator, BinaryOperator combiner, Function finisher, Characteristics[] characteristics)
suppliersupplier()Supplier supplier()

CollectorCharacteristics#

enum · extends Enum · java.util.stream.Collector$Characteristics

Fields

NameTypeAccessIn Ring
CONCURRENTCharacteristicsconstant · statico.CONCURRENT
UNORDEREDCharacteristicsconstant · statico.UNORDERED
IDENTITY_FINISHCharacteristicsconstant · statico.IDENTITY_FINISH

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Characteristics valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Characteristics[] values()

The methods and fields of Enum are inherited.

Collectors#

class final · extends Object · java.util.stream.Collectors

Methods

MethodRing callJava overloads
@joining@joining(delimiter)
@joining([delimiter,prefix,suffix])
@joining([ :delimiter = v, :prefix = v, :suffix = v ])
static Collector joining(CharSequence delimiter)
static Collector joining(CharSequence delimiter, CharSequence prefix, CharSequence suffix)
@toList@toList()static Collector toList()
averagingDoubleaveragingDouble(mapper)static Collector averagingDouble(ToDoubleFunction mapper)
averagingIntaveragingInt(mapper)static Collector averagingInt(ToIntFunction mapper)
averagingLongaveragingLong(mapper)static Collector averagingLong(ToLongFunction mapper)
collectingAndThencollectingAndThen(downstream,finisher)static Collector collectingAndThen(Collector downstream, Function finisher)
countingcounting()static Collector counting()
filteringfiltering(predicate,downstream)static Collector filtering(Predicate predicate, Collector downstream)
flatMappingflatMapping(mapper,downstream)static Collector flatMapping(Function mapper, Collector downstream)
groupingBygroupingBy(classifier)
groupingBy([classifier,downstream])
groupingBy([ :classifier = v, :downstream = v ])
groupingBy([classifier,mapFactory,downstream])
groupingBy([ :classifier = v, :mapFactory = v, :downstream = v ])
static Collector groupingBy(Function classifier)
static Collector groupingBy(Function classifier, Collector downstream)
static Collector groupingBy(Function classifier, Supplier mapFactory, Collector downstream)
groupingByConcurrentgroupingByConcurrent(classifier)
groupingByConcurrent([classifier,downstream])
groupingByConcurrent([ :classifier = v, :downstream = v ])
groupingByConcurrent([classifier,mapFactory,downstream])
groupingByConcurrent([ :classifier = v, :mapFactory = v, :downstream = v ])
static Collector groupingByConcurrent(Function classifier)
static Collector groupingByConcurrent(Function classifier, Collector downstream)
static Collector groupingByConcurrent(Function classifier, Supplier mapFactory, Collector downstream)
joiningjoining()static Collector joining()
mappingmapping(mapper,downstream)static Collector mapping(Function mapper, Collector downstream)
maxBymaxBy(comparator)static Collector maxBy(Comparator comparator)
minByminBy(comparator)static Collector minBy(Comparator comparator)
partitioningBypartitioningBy(predicate)
partitioningBy([predicate,downstream])
partitioningBy([ :predicate = v, :downstream = v ])
static Collector partitioningBy(Predicate predicate)
static Collector partitioningBy(Predicate predicate, Collector downstream)
reducingreducing(op)
reducing([identity,op])
reducing([ :identity = v, :op = v ])
reducing([identity,mapper,op])
reducing([ :identity = v, :mapper = v, :op = v ])
static Collector reducing(BinaryOperator op)
static Collector reducing(Object identity, BinaryOperator op)
static Collector reducing(Object identity, Function mapper, BinaryOperator op)
summarizingDoublesummarizingDouble(mapper)static Collector summarizingDouble(ToDoubleFunction mapper)
summarizingIntsummarizingInt(mapper)static Collector summarizingInt(ToIntFunction mapper)
summarizingLongsummarizingLong(mapper)static Collector summarizingLong(ToLongFunction mapper)
summingDoublesummingDouble(mapper)static Collector summingDouble(ToDoubleFunction mapper)
summingIntsummingInt(mapper)static Collector summingInt(ToIntFunction mapper)
summingLongsummingLong(mapper)static Collector summingLong(ToLongFunction mapper)
teeingteeing(downstream1,downstream2,merger)static Collector teeing(Collector downstream1, Collector downstream2, BiFunction merger)
toCollectiontoCollection(collectionFactory)static Collector toCollection(Supplier collectionFactory)
toConcurrentMaptoConcurrentMap([keyMapper,valueMapper])
toConcurrentMap([ :keyMapper = v, :valueMapper = v ])
toConcurrentMap([keyMapper,valueMapper,mergeFunction])
toConcurrentMap([ :keyMapper = v, :valueMapper = v, :mergeFunction = v ])
toConcurrentMap([keyMapper,valueMapper,mergeFunction,mapFactory])
toConcurrentMap([ :keyMapper = v, :valueMapper = v, :mergeFunction = v, :mapFactory = v ])
static Collector toConcurrentMap(Function keyMapper, Function valueMapper)
static Collector toConcurrentMap(Function keyMapper, Function valueMapper, BinaryOperator mergeFunction)
static Collector toConcurrentMap(Function keyMapper, Function valueMapper, BinaryOperator mergeFunction, Supplier mapFactory)
toMaptoMap([keyMapper,valueMapper])
toMap([ :keyMapper = v, :valueMapper = v ])
toMap([keyMapper,valueMapper,mergeFunction])
toMap([ :keyMapper = v, :valueMapper = v, :mergeFunction = v ])
toMap([keyMapper,valueMapper,mergeFunction,mapFactory])
toMap([ :keyMapper = v, :valueMapper = v, :mergeFunction = v, :mapFactory = v ])
static Collector toMap(Function keyMapper, Function valueMapper)
static Collector toMap(Function keyMapper, Function valueMapper, BinaryOperator mergeFunction)
static Collector toMap(Function keyMapper, Function valueMapper, BinaryOperator mergeFunction, Supplier mapFactory)
toSettoSet()static Collector toSet()
toUnmodifiableListtoUnmodifiableList()static Collector toUnmodifiableList()
toUnmodifiableMaptoUnmodifiableMap([keyMapper,valueMapper])
toUnmodifiableMap([ :keyMapper = v, :valueMapper = v ])
toUnmodifiableMap([keyMapper,valueMapper,mergeFunction])
toUnmodifiableMap([ :keyMapper = v, :valueMapper = v, :mergeFunction = v ])
static Collector toUnmodifiableMap(Function keyMapper, Function valueMapper)
static Collector toUnmodifiableMap(Function keyMapper, Function valueMapper, BinaryOperator mergeFunction)
toUnmodifiableSettoUnmodifiableSet()static Collector toUnmodifiableSet()

The methods and fields of Object are inherited.

DoubleStream#

interface · java.util.stream.DoubleStream

Extends: BaseStream

Methods

MethodRing callJava overloads
@forEach@forEach(action)void forEach(DoubleConsumer action)
allMatchallMatch(predicate)boolean allMatch(DoublePredicate predicate)
anyMatchanyMatch(predicate)boolean anyMatch(DoublePredicate predicate)
averageaverage()OptionalDouble average()
boxedboxed()Stream boxed()
builderbuilder()static Builder builder()
closeclose()void close()
collectcollect(supplier,accumulator,combiner)Object collect(Supplier supplier, ObjDoubleConsumer accumulator, BiConsumer combiner)
concatconcat(a,b)static DoubleStream concat(DoubleStream a, DoubleStream b)
countcount()long count()
distinctdistinct()DoubleStream distinct()
dropWhiledropWhile(predicate)DoubleStream dropWhile(DoublePredicate predicate)
emptyempty()static DoubleStream empty()
filterfilter(predicate)DoubleStream filter(DoublePredicate predicate)
findAnyfindAny()OptionalDouble findAny()
findFirstfindFirst()OptionalDouble findFirst()
flatMapflatMap(mapper)DoubleStream flatMap(DoubleFunction mapper)
forEachOrderedforEachOrdered(action)void forEachOrdered(DoubleConsumer action)
generategenerate(s)static DoubleStream generate(DoubleSupplier s)
isParallelisParallel()boolean isParallel()
iterateiterate([seed,f])
iterate([ :seed = v, :f = v ])
iterate([seed,hasNext,next])
iterate([ :seed = v, :hasNext = v, :next = v ])
static DoubleStream iterate(double seed, DoubleUnaryOperator f)
static DoubleStream iterate(double seed, DoublePredicate hasNext, DoubleUnaryOperator next)
iteratoriterator()OfDouble iterator()
limitlimit(maxSize)DoubleStream limit(long maxSize)
mapmap(mapper)DoubleStream map(DoubleUnaryOperator mapper)
mapMultimapMulti(mapper)DoubleStream mapMulti(DoubleMapMultiConsumer mapper)
mapToIntmapToInt(mapper)IntStream mapToInt(DoubleToIntFunction mapper)
mapToLongmapToLong(mapper)LongStream mapToLong(DoubleToLongFunction mapper)
mapToObjmapToObj(mapper)Stream mapToObj(DoubleFunction mapper)
maxmax()OptionalDouble max()
minmin()OptionalDouble min()
noneMatchnoneMatch(predicate)boolean noneMatch(DoublePredicate predicate)
ofof(t)static DoubleStream of(double t)
static DoubleStream of(double[] values)
onCloseonClose(closeHandler)BaseStream onClose(Runnable closeHandler)
parallelparallel()DoubleStream parallel()
peekpeek(action)DoubleStream peek(DoubleConsumer action)
reducereduce(op)
reduce([identity,op])
reduce([ :identity = v, :op = v ])
OptionalDouble reduce(DoubleBinaryOperator op)
double reduce(double identity, DoubleBinaryOperator op)
sequentialsequential()DoubleStream sequential()
skipskip(n)DoubleStream skip(long n)
sortedsorted()DoubleStream sorted()
spliteratorspliterator()OfDouble spliterator()
sumsum()double sum()
summaryStatisticssummaryStatistics()DoubleSummaryStatistics summaryStatistics()
takeWhiletakeWhile(predicate)DoubleStream takeWhile(DoublePredicate predicate)
toArraytoArray()double[] toArray()
unorderedunordered()BaseStream unordered()

DoubleStreamBuilder#

interface · java.util.stream.DoubleStream$Builder

Extends: DoubleConsumer

Methods

MethodRing callJava overloads
acceptaccept(t)void accept(double t)
addadd(t)Builder add(double t)
andThenandThen(after)DoubleConsumer andThen(DoubleConsumer after)
buildbuild()DoubleStream build()

DoubleStreamDoubleMapMultiConsumer#

interface · java.util.stream.DoubleStream$DoubleMapMultiConsumer

Methods

MethodRing callJava overloads
acceptaccept(value,dc)void accept(double value, DoubleConsumer dc)

Gatherer#

interface · java.util.stream.Gatherer

Methods

MethodRing callJava overloads
andThenandThen(that)Gatherer andThen(Gatherer that)
combinercombiner()BinaryOperator combiner()
defaultCombinerdefaultCombiner()static BinaryOperator defaultCombiner()
defaultFinisherdefaultFinisher()static BiConsumer defaultFinisher()
defaultInitializerdefaultInitializer()static Supplier defaultInitializer()
finisherfinisher()BiConsumer finisher()
initializerinitializer()Supplier initializer()
integratorintegrator()Integrator integrator()
ofof(integrator)
of([integrator,finisher])
of([ :integrator = v, :finisher = v ])
of([initializer,integrator,combiner,finisher])
of([ :initializer = v, :integrator = v, :combiner = v, :finisher = v ])
static Gatherer of(Integrator integrator)
static Gatherer of(Integrator integrator, BiConsumer finisher)
static Gatherer of(Supplier initializer, Integrator integrator, BinaryOperator combiner, BiConsumer finisher)
ofSequentialofSequential(integrator)
ofSequential([integrator,finisher])
ofSequential([ :integrator = v, :finisher = v ])
ofSequential([initializer,integrator,finisher])
ofSequential([ :initializer = v, :integrator = v, :finisher = v ])
static Gatherer ofSequential(Integrator integrator)
static Gatherer ofSequential(Integrator integrator, BiConsumer finisher)
static Gatherer ofSequential(Supplier initializer, Integrator integrator)
static Gatherer ofSequential(Supplier initializer, Integrator integrator, BiConsumer finisher)

GathererDownstream#

interface · java.util.stream.Gatherer$Downstream

Methods

MethodRing callJava overloads
isRejectingisRejecting()boolean isRejecting()
pushpush(element)boolean push(Object element)

GathererIntegrator#

interface · java.util.stream.Gatherer$Integrator

Methods

MethodRing callJava overloads
integrateintegrate(state,element,downstream)boolean integrate(Object state, Object element, Downstream downstream)
ofof(integrator)static Integrator of(Integrator integrator)
ofGreedyofGreedy(greedy)static Greedy ofGreedy(Greedy greedy)

GathererIntegratorGreedy#

interface · java.util.stream.Gatherer$Integrator$Greedy

Extends: GathererIntegrator

Methods

MethodRing callJava overloads
integrateintegrate(state,element,downstream)boolean integrate(Object state, Object element, Downstream downstream)

Gatherers#

class final · extends Object · java.util.stream.Gatherers

Methods

MethodRing callJava overloads
foldfold(initial,folder)static Gatherer fold(Supplier initial, BiFunction folder)
mapConcurrentmapConcurrent(maxConcurrency,mapper)static Gatherer mapConcurrent(int maxConcurrency, Function mapper)
scanscan(initial,scanner)static Gatherer scan(Supplier initial, BiFunction scanner)
windowFixedwindowFixed(windowSize)static Gatherer windowFixed(int windowSize)
windowSlidingwindowSliding(windowSize)static Gatherer windowSliding(int windowSize)

The methods and fields of Object are inherited.

IntStream#

interface · java.util.stream.IntStream

Extends: BaseStream

Methods

MethodRing callJava overloads
@forEach@forEach(action)void forEach(IntConsumer action)
allMatchallMatch(predicate)boolean allMatch(IntPredicate predicate)
anyMatchanyMatch(predicate)boolean anyMatch(IntPredicate predicate)
asDoubleStreamasDoubleStream()DoubleStream asDoubleStream()
asLongStreamasLongStream()LongStream asLongStream()
averageaverage()OptionalDouble average()
boxedboxed()Stream boxed()
builderbuilder()static Builder builder()
closeclose()void close()
collectcollect(supplier,accumulator,combiner)Object collect(Supplier supplier, ObjIntConsumer accumulator, BiConsumer combiner)
concatconcat(a,b)static IntStream concat(IntStream a, IntStream b)
countcount()long count()
distinctdistinct()IntStream distinct()
dropWhiledropWhile(predicate)IntStream dropWhile(IntPredicate predicate)
emptyempty()static IntStream empty()
filterfilter(predicate)IntStream filter(IntPredicate predicate)
findAnyfindAny()OptionalInt findAny()
findFirstfindFirst()OptionalInt findFirst()
flatMapflatMap(mapper)IntStream flatMap(IntFunction mapper)
forEachOrderedforEachOrdered(action)void forEachOrdered(IntConsumer action)
generategenerate(s)static IntStream generate(IntSupplier s)
isParallelisParallel()boolean isParallel()
iterateiterate([seed,f])
iterate([ :seed = v, :f = v ])
iterate([seed,hasNext,next])
iterate([ :seed = v, :hasNext = v, :next = v ])
static IntStream iterate(int seed, IntUnaryOperator f)
static IntStream iterate(int seed, IntPredicate hasNext, IntUnaryOperator next)
iteratoriterator()OfInt iterator()
limitlimit(maxSize)IntStream limit(long maxSize)
mapmap(mapper)IntStream map(IntUnaryOperator mapper)
mapMultimapMulti(mapper)IntStream mapMulti(IntMapMultiConsumer mapper)
mapToDoublemapToDouble(mapper)DoubleStream mapToDouble(IntToDoubleFunction mapper)
mapToLongmapToLong(mapper)LongStream mapToLong(IntToLongFunction mapper)
mapToObjmapToObj(mapper)Stream mapToObj(IntFunction mapper)
maxmax()OptionalInt max()
minmin()OptionalInt min()
noneMatchnoneMatch(predicate)boolean noneMatch(IntPredicate predicate)
ofof(t)static IntStream of(int t)
static IntStream of(int[] values)
onCloseonClose(closeHandler)BaseStream onClose(Runnable closeHandler)
parallelparallel()IntStream parallel()
peekpeek(action)IntStream peek(IntConsumer action)
rangerange(startInclusive,endExclusive)static IntStream range(int startInclusive, int endExclusive)
rangeClosedrangeClosed(startInclusive,endInclusive)static IntStream rangeClosed(int startInclusive, int endInclusive)
reducereduce(op)
reduce([identity,op])
reduce([ :identity = v, :op = v ])
OptionalInt reduce(IntBinaryOperator op)
int reduce(int identity, IntBinaryOperator op)
sequentialsequential()IntStream sequential()
skipskip(n)IntStream skip(long n)
sortedsorted()IntStream sorted()
spliteratorspliterator()OfInt spliterator()
sumsum()int sum()
summaryStatisticssummaryStatistics()IntSummaryStatistics summaryStatistics()
takeWhiletakeWhile(predicate)IntStream takeWhile(IntPredicate predicate)
toArraytoArray()int[] toArray()
unorderedunordered()BaseStream unordered()

IntStreamBuilder#

interface · java.util.stream.IntStream$Builder

Extends: IntConsumer

Methods

MethodRing callJava overloads
acceptaccept(t)void accept(int t)
addadd(t)Builder add(int t)
andThenandThen(after)IntConsumer andThen(IntConsumer after)
buildbuild()IntStream build()

IntStreamIntMapMultiConsumer#

interface · java.util.stream.IntStream$IntMapMultiConsumer

Methods

MethodRing callJava overloads
acceptaccept(value,ic)void accept(int value, IntConsumer ic)

LongStream#

interface · java.util.stream.LongStream

Extends: BaseStream

Methods

MethodRing callJava overloads
@forEach@forEach(action)void forEach(LongConsumer action)
allMatchallMatch(predicate)boolean allMatch(LongPredicate predicate)
anyMatchanyMatch(predicate)boolean anyMatch(LongPredicate predicate)
asDoubleStreamasDoubleStream()DoubleStream asDoubleStream()
averageaverage()OptionalDouble average()
boxedboxed()Stream boxed()
builderbuilder()static Builder builder()
closeclose()void close()
collectcollect(supplier,accumulator,combiner)Object collect(Supplier supplier, ObjLongConsumer accumulator, BiConsumer combiner)
concatconcat(a,b)static LongStream concat(LongStream a, LongStream b)
countcount()long count()
distinctdistinct()LongStream distinct()
dropWhiledropWhile(predicate)LongStream dropWhile(LongPredicate predicate)
emptyempty()static LongStream empty()
filterfilter(predicate)LongStream filter(LongPredicate predicate)
findAnyfindAny()OptionalLong findAny()
findFirstfindFirst()OptionalLong findFirst()
flatMapflatMap(mapper)LongStream flatMap(LongFunction mapper)
forEachOrderedforEachOrdered(action)void forEachOrdered(LongConsumer action)
generategenerate(s)static LongStream generate(LongSupplier s)
isParallelisParallel()boolean isParallel()
iterateiterate([seed,f])
iterate([ :seed = v, :f = v ])
iterate([seed,hasNext,next])
iterate([ :seed = v, :hasNext = v, :next = v ])
static LongStream iterate(long seed, LongUnaryOperator f)
static LongStream iterate(long seed, LongPredicate hasNext, LongUnaryOperator next)
iteratoriterator()OfLong iterator()
limitlimit(maxSize)LongStream limit(long maxSize)
mapmap(mapper)LongStream map(LongUnaryOperator mapper)
mapMultimapMulti(mapper)LongStream mapMulti(LongMapMultiConsumer mapper)
mapToDoublemapToDouble(mapper)DoubleStream mapToDouble(LongToDoubleFunction mapper)
mapToIntmapToInt(mapper)IntStream mapToInt(LongToIntFunction mapper)
mapToObjmapToObj(mapper)Stream mapToObj(LongFunction mapper)
maxmax()OptionalLong max()
minmin()OptionalLong min()
noneMatchnoneMatch(predicate)boolean noneMatch(LongPredicate predicate)
ofof(t)static LongStream of(long t)
static LongStream of(long[] values)
onCloseonClose(closeHandler)BaseStream onClose(Runnable closeHandler)
parallelparallel()LongStream parallel()
peekpeek(action)LongStream peek(LongConsumer action)
rangerange(startInclusive,endExclusive)static LongStream range(long startInclusive, long endExclusive)
rangeClosedrangeClosed(startInclusive,endInclusive)static LongStream rangeClosed(long startInclusive, long endInclusive)
reducereduce(op)
reduce([identity,op])
reduce([ :identity = v, :op = v ])
OptionalLong reduce(LongBinaryOperator op)
long reduce(long identity, LongBinaryOperator op)
sequentialsequential()LongStream sequential()
skipskip(n)LongStream skip(long n)
sortedsorted()LongStream sorted()
spliteratorspliterator()OfLong spliterator()
sumsum()long sum()
summaryStatisticssummaryStatistics()LongSummaryStatistics summaryStatistics()
takeWhiletakeWhile(predicate)LongStream takeWhile(LongPredicate predicate)
toArraytoArray()long[] toArray()
unorderedunordered()BaseStream unordered()

LongStreamBuilder#

interface · java.util.stream.LongStream$Builder

Extends: LongConsumer

Methods

MethodRing callJava overloads
acceptaccept(t)void accept(long t)
addadd(t)Builder add(long t)
andThenandThen(after)LongConsumer andThen(LongConsumer after)
buildbuild()LongStream build()

LongStreamLongMapMultiConsumer#

interface · java.util.stream.LongStream$LongMapMultiConsumer

Methods

MethodRing callJava overloads
acceptaccept(value,lc)void accept(long value, LongConsumer lc)

Stream#

interface · java.util.stream.Stream

Extends: BaseStream

Methods

MethodRing callJava overloads
@forEach@forEach(action)void forEach(Consumer action)
@sorted@sorted(comparator)Stream sorted(Comparator comparator)
@toArray@toArray(generator)Object[] toArray(IntFunction generator)
@toList@toList()List toList()
allMatchallMatch(predicate)boolean allMatch(Predicate predicate)
anyMatchanyMatch(predicate)boolean anyMatch(Predicate predicate)
builderbuilder()static Builder builder()
closeclose()void close()
collectcollect(collector)
collect([supplier,accumulator,combiner])
collect([ :supplier = v, :accumulator = v, :combiner = v ])
Object collect(Collector collector)
Object collect(Supplier supplier, BiConsumer accumulator, BiConsumer combiner)
concatconcat(a,b)static Stream concat(Stream a, Stream b)
countcount()long count()
distinctdistinct()Stream distinct()
dropWhiledropWhile(predicate)Stream dropWhile(Predicate predicate)
emptyempty()static Stream empty()
filterfilter(predicate)Stream filter(Predicate predicate)
findAnyfindAny()Optional findAny()
findFirstfindFirst()Optional findFirst()
flatMapflatMap(mapper)Stream flatMap(Function mapper)
flatMapToDoubleflatMapToDouble(mapper)DoubleStream flatMapToDouble(Function mapper)
flatMapToIntflatMapToInt(mapper)IntStream flatMapToInt(Function mapper)
flatMapToLongflatMapToLong(mapper)LongStream flatMapToLong(Function mapper)
forEachOrderedforEachOrdered(action)void forEachOrdered(Consumer action)
gathergather(gatherer)Stream gather(Gatherer gatherer)
generategenerate(s)static Stream generate(Supplier s)
isParallelisParallel()boolean isParallel()
iterateiterate([seed,f])
iterate([ :seed = v, :f = v ])
iterate([seed,hasNext,next])
iterate([ :seed = v, :hasNext = v, :next = v ])
static Stream iterate(Object seed, UnaryOperator f)
static Stream iterate(Object seed, Predicate hasNext, UnaryOperator next)
iteratoriterator()Iterator iterator()
limitlimit(maxSize)Stream limit(long maxSize)
mapmap(mapper)Stream map(Function mapper)
mapMultimapMulti(mapper)Stream mapMulti(BiConsumer mapper)
mapMultiToDoublemapMultiToDouble(mapper)DoubleStream mapMultiToDouble(BiConsumer mapper)
mapMultiToIntmapMultiToInt(mapper)IntStream mapMultiToInt(BiConsumer mapper)
mapMultiToLongmapMultiToLong(mapper)LongStream mapMultiToLong(BiConsumer mapper)
mapToDoublemapToDouble(mapper)DoubleStream mapToDouble(ToDoubleFunction mapper)
mapToIntmapToInt(mapper)IntStream mapToInt(ToIntFunction mapper)
mapToLongmapToLong(mapper)LongStream mapToLong(ToLongFunction mapper)
maxmax(comparator)Optional max(Comparator comparator)
minmin(comparator)Optional min(Comparator comparator)
noneMatchnoneMatch(predicate)boolean noneMatch(Predicate predicate)
ofof(t)static Stream of(Object[] t)
static Stream of(Object t)
ofNullableofNullable(t)static Stream ofNullable(Object t)
onCloseonClose(closeHandler)BaseStream onClose(Runnable closeHandler)
parallelparallel()BaseStream parallel()
peekpeek(action)Stream peek(Consumer action)
reducereduce(accumulator)
reduce([identity,accumulator])
reduce([ :identity = v, :accumulator = v ])
reduce([identity,accumulator,combiner])
reduce([ :identity = v, :accumulator = v, :combiner = v ])
Optional reduce(BinaryOperator accumulator)
Object reduce(Object identity, BinaryOperator accumulator)
Object reduce(Object identity, BiFunction accumulator, BinaryOperator combiner)
sequentialsequential()BaseStream sequential()
skipskip(n)Stream skip(long n)
sortedsorted()Stream sorted()
spliteratorspliterator()Spliterator spliterator()
takeWhiletakeWhile(predicate)Stream takeWhile(Predicate predicate)
toArraytoArray()Object[] toArray()
unorderedunordered()BaseStream unordered()

StreamBuilder#

interface · java.util.stream.Stream$Builder

Extends: Consumer

Methods

MethodRing callJava overloads
acceptaccept(t)void accept(Object t)
addadd(t)Builder add(Object t)
andThenandThen(after)Consumer andThen(Consumer after)
buildbuild()Stream build()

StreamSupport#

class final · extends Object · java.util.stream.StreamSupport

Methods

MethodRing callJava overloads
doubleStreamdoubleStream([spliterator,parallel])
doubleStream([ :spliterator = v, :parallel = v ])
doubleStream([supplier,characteristics,parallel])
doubleStream([ :supplier = v, :characteristics = v, :parallel = v ])
static DoubleStream doubleStream(OfDouble spliterator, boolean parallel)
static DoubleStream doubleStream(Supplier supplier, int characteristics, boolean parallel)
intStreamintStream([spliterator,parallel])
intStream([ :spliterator = v, :parallel = v ])
intStream([supplier,characteristics,parallel])
intStream([ :supplier = v, :characteristics = v, :parallel = v ])
static IntStream intStream(OfInt spliterator, boolean parallel)
static IntStream intStream(Supplier supplier, int characteristics, boolean parallel)
longStreamlongStream([spliterator,parallel])
longStream([ :spliterator = v, :parallel = v ])
longStream([supplier,characteristics,parallel])
longStream([ :supplier = v, :characteristics = v, :parallel = v ])
static LongStream longStream(OfLong spliterator, boolean parallel)
static LongStream longStream(Supplier supplier, int characteristics, boolean parallel)
streamstream([spliterator,parallel])
stream([ :spliterator = v, :parallel = v ])
stream([supplier,characteristics,parallel])
stream([ :supplier = v, :characteristics = v, :parallel = v ])
static Stream stream(Spliterator spliterator, boolean parallel)
static Stream stream(Supplier supplier, int characteristics, boolean parallel)

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.