| パッケージ | 説明 | 
|---|---|
| java.security | 
 セキュリティ・フレームワークのクラスとインタフェースを提供します。 
 | 
| java.util | 
 コレクション・フレームワーク、レガシー・コレクション・クラス、イベント・モデル、日時機能、国際化、およびさまざまなユーティリティ・クラス(StringTokenizer、乱数ジェネレータ、およびビット配列)が含まれています。 
 | 
| java.util.concurrent | 
 並行プログラミングでよく使用されるユーティリティ・クラスです。 
 | 
| java.util.function | 
 関数型インタフェースは、ラムダ式やメソッド参照のターゲットとなる型を提供します。 
 | 
| java.util.stream | 
 コレクションに対するマップ-リデュース変換など、要素のストリームに対する関数型の操作をサポートするクラスです。 
 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
void | 
Provider.forEach(BiConsumer<? super Object,? super Object> action)  | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
void | 
IdentityHashMap.forEach(BiConsumer<? super K,? super V> action)  | 
void | 
WeakHashMap.forEach(BiConsumer<? super K,? super V> action)  | 
void | 
HashMap.forEach(BiConsumer<? super K,? super V> action)  | 
void | 
LinkedHashMap.forEach(BiConsumer<? super K,? super V> action)  | 
void | 
Hashtable.forEach(BiConsumer<? super K,? super V> action)  | 
void | 
TreeMap.forEach(BiConsumer<? super K,? super V> action)  | 
default void | 
Map.forEach(BiConsumer<? super K,? super V> action)
このマップのすべてのエントリの処理が完了するかアクションから例外がスローされるまで、各エントリに対して指定されたアクションを実行します。 
 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
void | 
ConcurrentSkipListMap.forEach(BiConsumer<? super K,? super V> action)  | 
default void | 
ConcurrentMap.forEach(BiConsumer<? super K,? super V> action)
このマップのすべてのエントリの処理が完了するかアクションから例外がスローされるまで、各エントリに対して指定されたアクションを実行します。 
 | 
void | 
ConcurrentHashMap.forEach(BiConsumer<? super K,? super V> action)  | 
void | 
ConcurrentHashMap.forEach(long parallelismThreshold, BiConsumer<? super K,? super V> action)
各(key, value)に対して指定されたアクションを実行します。 
 | 
<U> CompletionStage<Void> | 
CompletionStage.thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
このステージと指定された他のステージの両方が正常終了した際に実行される新しいCompletionStageを返します(実行時には、指定されたアクションの引数として2つの結果が使用される)。 
 | 
<U> CompletableFuture<Void> | 
CompletableFuture.thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)  | 
<U> CompletionStage<Void> | 
CompletionStage.thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)
このステージと指定された他のステージが正常終了した際にこのステージのデフォルト非同期実行機能を使って実行される新しいCompletionStageを返します(実行時には、指定されたアクションの引数として2つの結果が使用される)。 
 | 
<U> CompletableFuture<Void> | 
CompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action)  | 
<U> CompletionStage<Void> | 
CompletionStage.thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Executor executor)
このステージと指定された他のステージが正常終了した際に指定されたエグゼキュータを使って実行される新しいCompletionStageを返します(実行時には、指定された関数の引数として2つの結果が使用される)。 
 | 
<U> CompletableFuture<Void> | 
CompletableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T,? super U> action, Executor executor)  | 
CompletionStage<T> | 
CompletionStage.whenComplete(BiConsumer<? super T,? super Throwable> action)
このステージの終了時に指定されたアクションを実行する、このステージと同じ結果または例外を持つ新しいCompletionStageを返します(実行時には、このステージの結果(存在しない場合は 
null)と例外(存在しない場合はnull)が使用される)。 | 
CompletableFuture<T> | 
CompletableFuture.whenComplete(BiConsumer<? super T,? super Throwable> action)  | 
CompletionStage<T> | 
CompletionStage.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)
このステージの終了時にこのステージのデフォルト非同期実行機能を使って指定されたアクションを実行する、このステージと同じ結果または例外を持つ新しいCompletionStageを返します(実行時には、このステージの結果(存在しない場合は 
null)と例外(存在しない場合はnull)が引数として使用される)。 | 
CompletableFuture<T> | 
CompletableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action)  | 
CompletionStage<T> | 
CompletionStage.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor)
このステージの終了時に指定されたExecutorを使って指定されたアクションを実行する、このステージと同じ結果または例外を持つ新しいCompletionStageを返します(実行時には、このステージの結果(存在しない場合は 
null)と例外(存在しない場合はnull)が引数として使用される)。 | 
CompletableFuture<T> | 
CompletableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action, Executor executor)  | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
default BiConsumer<T,U> | 
BiConsumer.andThen(BiConsumer<? super T,? super U> after)
このオペレーションを実行した後、続けて 
afterオペレーションを実行する合成BiConsumerを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
default BiConsumer<T,U> | 
BiConsumer.andThen(BiConsumer<? super T,? super U> after)
このオペレーションを実行した後、続けて 
afterオペレーションを実行する合成BiConsumerを返します。 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
BiConsumer<A,T> | 
Collector.accumulator()
可変結果コンテナに値を折りたたむ関数。 
 | 
| 修飾子と型 | メソッドと説明 | 
|---|---|
<R> R | 
Stream.collect(Supplier<R> supplier, BiConsumer<R,? super T> accumulator, BiConsumer<R,R> combiner)
このストリームの要素に対して可変リダクション操作を実行します。 
 | 
<R> R | 
Stream.collect(Supplier<R> supplier, BiConsumer<R,? super T> accumulator, BiConsumer<R,R> combiner)
このストリームの要素に対して可変リダクション操作を実行します。 
 | 
<R> R | 
DoubleStream.collect(Supplier<R> supplier, ObjDoubleConsumer<R> accumulator, BiConsumer<R,R> combiner)
このストリームの要素に対して可変リダクション操作を実行します。 
 | 
<R> R | 
IntStream.collect(Supplier<R> supplier, ObjIntConsumer<R> accumulator, BiConsumer<R,R> combiner)
このストリームの要素に対して可変リダクション操作を実行します。 
 | 
<R> R | 
LongStream.collect(Supplier<R> supplier, ObjLongConsumer<R> accumulator, BiConsumer<R,R> combiner)
このストリームの要素に対して可変リダクション操作を実行します。 
 | 
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)
指定された 
supplier、accumulator、combiner、およびfinisher関数で記述される新しいCollectorを返します。 | 
static <T,R> Collector<T,R,R> | 
Collector.of(Supplier<R> supplier, BiConsumer<R,T> accumulator, BinaryOperator<R> combiner, Collector.Characteristics... characteristics)
指定された 
supplier、accumulator、およびcombiner関数で記述される新しいCollectorを返します。 | 
 バグまたは機能を送信 
詳細なAPIリファレンスおよび開発者ドキュメントについては、Java SEのドキュメントを参照してください。そのドキュメントには、概念的な概要、用語の定義、回避方法、有効なコード例などの、開発者を対象にしたより詳細な説明が含まれています。
 Copyright© 1993, 2014, Oracle and/or its affiliates. All rights reserved.