| Package | Description |
|---|---|
| java.util |
Back 2 Browser Bytecode Translator
Copyright (C) 2012 Jaroslav Tulach
|
| java.util.function |
Functional interfaces provide target types for lambda expressions
and method references.
|
| 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 void |
Map.forEach(BiConsumer<? super K,? super V> action)
Performs the given action for each entry in this map until all entries
have been processed or the action throws an exception.
|
| Modifier and Type | Method and Description |
|---|---|
default BiConsumer<T,U> |
BiConsumer.andThen(BiConsumer<? super T,? super U> after)
Returns a composed
BiConsumer that performs, in sequence, this
operation followed by the after operation. |
| Modifier and Type | Method and Description |
|---|---|
default BiConsumer<T,U> |
BiConsumer.andThen(BiConsumer<? super T,? super U> after)
Returns a composed
BiConsumer that performs, in sequence, this
operation followed by the after operation. |
| Modifier and Type | Method and Description |
|---|---|
BiConsumer<A,T> |
Collector.accumulator()
A function that folds a value into a mutable result container.
|
| Modifier and Type | Method and Description |
|---|---|
<R> R |
Stream.collect(Supplier<R> supplier,
BiConsumer<R,? super T> accumulator,
BiConsumer<R,R> combiner)
Performs a mutable
reduction operation on the elements of this stream.
|
<R> R |
Stream.collect(Supplier<R> supplier,
BiConsumer<R,? super T> accumulator,
BiConsumer<R,R> combiner)
Performs a mutable
reduction operation on the elements of this stream.
|
<R> R |
DoubleStream.collect(Supplier<R> supplier,
ObjDoubleConsumer<R> accumulator,
BiConsumer<R,R> combiner)
Performs a mutable
reduction operation on the elements of this stream.
|
<R> R |
IntStream.collect(Supplier<R> supplier,
ObjIntConsumer<R> accumulator,
BiConsumer<R,R> combiner)
Performs a mutable
reduction operation on the elements of this stream.
|
<R> R |
LongStream.collect(Supplier<R> supplier,
ObjLongConsumer<R> accumulator,
BiConsumer<R,R> combiner)
Performs a mutable
reduction operation on the elements of this stream.
|
static <T,A,R> Collector<T,A,R> |
Collector.of(Supplier<A> supplier,
BiConsumer<A,T> accumulator,
BinaryOperator<A> combiner,
Function<A,R> finisher,
Collector.Characteristics... characteristics)
Returns a new
Collector described by the given supplier,
accumulator, combiner, and finisher functions. |
static <T,R> Collector<T,R,R> |
Collector.of(Supplier<R> supplier,
BiConsumer<R,T> accumulator,
BinaryOperator<R> combiner,
Collector.Characteristics... characteristics)
Returns a new
Collector described by the given supplier,
accumulator, and combiner functions. |
Copyright © 2021 API Design. All Rights Reserved.