LongSparseArray.Compute(Int64, ILongObjFunction) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Tenta di calcolare un nuovo valore mappato per la chiave specificata in base al mapping corrente o null se non è presente alcun mapping corrente.
[Android.Runtime.Register("compute", "(JLandroid/util/function/LongObjFunction;)Ljava/lang/Object;", "GetCompute_JLandroid_util_function_LongObjFunction_Handler", ApiSince=37)]
public virtual Java.Lang.Object? Compute(long key, Android.Util.Function.ILongObjFunction function);
[<Android.Runtime.Register("compute", "(JLandroid/util/function/LongObjFunction;)Ljava/lang/Object;", "GetCompute_JLandroid_util_function_LongObjFunction_Handler", ApiSince=37)>]
abstract member Compute : int64 * Android.Util.Function.ILongObjFunction -> Java.Lang.Object
override this.Compute : int64 * Android.Util.Function.ILongObjFunction -> Java.Lang.Object
Parametri
- key
- Int64
Chiave per cui calcolare il valore.
- function
- ILongObjFunction
Funzione per calcolare il nuovo valore.
Valori restituiti
Nuovo valore mappato oppure null se non è presente.
- Attributi