Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
java.util.stream |
java.util.stream
|
Modifier and Type | Method and Description |
---|---|
void |
Hashtable.forEach(BiConsumer<? super K,? super V> action) |
default void |
Map.forEach(BiConsumer<? super K,? super V> action)
Performs the given action on each entry in this map, in the order entries
are returned by an entry set iterator (which may be unspecified), until
all entries have been processed or the action throws an
Exception . |
Modifier and Type | Method and Description |
---|---|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBoth(CompletableFuture<? extends U> other,
BiConsumer<? super T,? super U> block)
Returns a new CompletableFuture that is completed
when both this and the other given CompletableFuture complete,
after performing the given action with the results of the two
CompletableFutures.
|
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletableFuture<? extends U> other,
BiConsumer<? super T,? super U> block)
Returns a new CompletableFuture that is asynchronously completed
when both this and the other given CompletableFuture complete,
after performing the given action with the results of the two
CompletableFutures from a task running in the
ForkJoinPool.commonPool() . |
<U> CompletableFuture<Void> |
CompletableFuture.thenAcceptBothAsync(CompletableFuture<? extends U> other,
BiConsumer<? super T,? super U> block,
Executor executor)
Returns a new CompletableFuture that is asynchronously completed
when both this and the other given CompletableFuture complete,
after performing the given action with the results of the two
CompletableFutures from a task running in the given executor.
|
Modifier and Type | Method and Description |
---|---|
<R> R |
DelegatingStream.collect(Supplier<R> resultFactory,
BiConsumer<R,? super T> accumulator,
BiConsumer<R,R> combiner) |
<R> R |
DelegatingStream.collect(Supplier<R> resultFactory,
BiConsumer<R,? super T> accumulator,
BiConsumer<R,R> combiner) |
<R> R |
Stream.collect(Supplier<R> resultFactory,
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> resultFactory,
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> resultFactory,
ObjDoubleConsumer<R> accumulator,
BiConsumer<R,R> combiner)
Performs a mutable
reduction operation on the elements of this stream.
|
<R> R |
IntStream.collect(Supplier<R> resultFactory,
ObjIntConsumer<R> accumulator,
BiConsumer<R,R> combiner)
Performs a mutable
reduction operation on the elements of this stream.
|
<R> R |
LongStream.collect(Supplier<R> resultFactory,
ObjLongConsumer<R> accumulator,
BiConsumer<R,R> combiner)
Performs a mutable
reduction operation on the elements of this stream.
|
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b92