Freigeben über


IConcurrentMap.IMap.GetOrDefault(Object, Object) Method

Definition

To be added

[Android.Runtime.Register("getOrDefault", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetGetOrDefault_Ljava_lang_Object_Ljava_lang_Object_Handler:Java.Util.Concurrent.IConcurrentMap, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
override sealed Java.Lang.Object? IMap.GetOrDefault (Java.Lang.Object? key, Java.Lang.Object? defaultValue);
[<Android.Runtime.Register("getOrDefault", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetGetOrDefault_Ljava_lang_Object_Ljava_lang_Object_Handler:Java.Util.Concurrent.IConcurrentMap, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Java.Util.IMap.GetOrDefault : Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object
override this.Java.Util.IMap.GetOrDefault : Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object

Parameters

key
Object
defaultValue
Object

Returns

Implements

Attributes

Remarks

To be added

Added in 1.8.

Java documentation for java.util.concurrent.ConcurrentMap.getOrDefault(java.lang.Object, V).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to