다음을 통해 공유


AtomicInteger.Opaque Property

Definition

Returns the current value, with memory effects as specified by VarHandle#getOpaque. -or- Sets the value to newValue, with memory effects as specified by VarHandle#setOpaque.

public int Opaque { [Android.Runtime.Register("getOpaque", "()I", "", ApiSince=33)] get; [Android.Runtime.Register("setOpaque", "(I)V", "", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getOpaque", "()I", "", ApiSince=33)>]
[<set: Android.Runtime.Register("setOpaque", "(I)V", "", ApiSince=33)>]
member this.Opaque : int with get, set

Property Value

the value

Attributes

Remarks

Property getter documentation:

Returns the current value, with memory effects as specified by VarHandle#getOpaque.

Added in 9.

Java documentation for java.util.concurrent.atomic.AtomicInteger.getOpaque().

Property setter documentation:

Sets the value to newValue, with memory effects as specified by VarHandle#setOpaque.

Added in 9.

Java documentation for java.util.concurrent.atomic.AtomicInteger.setOpaque(int).

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