AtomicReferenceFieldUpdater.Get(Object) Method

Definition

Returns the current value held in the field of the given object managed by this updater.

[Android.Runtime.Register("get", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetGet_Ljava_lang_Object_Handler")]
public abstract Java.Lang.Object? Get (Java.Lang.Object? obj);
[<Android.Runtime.Register("get", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetGet_Ljava_lang_Object_Handler")>]
abstract member Get : Java.Lang.Object -> Java.Lang.Object

Parameters

obj
Object

An object whose field to get

Returns

the current value

Attributes

Remarks

Returns the current value held in the field of the given object managed by this updater.

Java documentation for java.util.concurrent.atomic.AtomicReferenceFieldUpdater.get(T).

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