ConcurrentHashMap.ForEachValue メソッド

定義

オーバーロード

ForEachValue(Int64, IConsumer)

値ごとに指定されたアクションを実行します。

ForEachValue(Int64, IFunction, IConsumer)

各値の null 以外の変換ごとに、指定されたアクションを実行します。

ForEachValue(Int64, IConsumer)

値ごとに指定されたアクションを実行します。

[Android.Runtime.Register("forEachValue", "(JLjava/util/function/Consumer;)V", "GetForEachValue_JLjava_util_function_Consumer_Handler", ApiSince=24)]
public virtual void ForEachValue (long parallelismThreshold, Java.Util.Functions.IConsumer action);
[<Android.Runtime.Register("forEachValue", "(JLjava/util/function/Consumer;)V", "GetForEachValue_JLjava_util_function_Consumer_Handler", ApiSince=24)>]
abstract member ForEachValue : int64 * Java.Util.Functions.IConsumer -> unit
override this.ForEachValue : int64 * Java.Util.Functions.IConsumer -> unit

パラメーター

parallelismThreshold
Int64

この操作を並列で実行するために必要な要素の (推定) 数

action
IConsumer

アクション

属性

注釈

値ごとに指定されたアクションを実行します。

1.8 で追加されました。

java.util.concurrent.ConcurrentHashMap.forEachValue(long, java.util.function.Consumer<? super V>)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

ForEachValue(Int64, IFunction, IConsumer)

各値の null 以外の変換ごとに、指定されたアクションを実行します。

[Android.Runtime.Register("forEachValue", "(JLjava/util/function/Function;Ljava/util/function/Consumer;)V", "GetForEachValue_JLjava_util_function_Function_Ljava_util_function_Consumer_Handler", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "U" })]
public virtual void ForEachValue (long parallelismThreshold, Java.Util.Functions.IFunction transformer, Java.Util.Functions.IConsumer action);
[<Android.Runtime.Register("forEachValue", "(JLjava/util/function/Function;Ljava/util/function/Consumer;)V", "GetForEachValue_JLjava_util_function_Function_Ljava_util_function_Consumer_Handler", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "U" })>]
abstract member ForEachValue : int64 * Java.Util.Functions.IFunction * Java.Util.Functions.IConsumer -> unit
override this.ForEachValue : int64 * Java.Util.Functions.IFunction * Java.Util.Functions.IConsumer -> unit

パラメーター

parallelismThreshold
Int64

この操作を並列で実行するために必要な要素の (推定) 数

transformer
IFunction

要素の変換を返す関数、または変換がない場合は null (その場合はアクションが適用されません)

action
IConsumer

アクション

属性

注釈

各値の null 以外の変換ごとに、指定されたアクションを実行します。

1.8 で追加されました。

java.util.concurrent.ConcurrentHashMap.forEachValue(long, java.util.function.Function<? super V, ? extends U>, java.util.function.Consumer<? super U>)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象