The members of Java.Util.Concurrent.Atomic.AtomicInteger are listed below.
See Also: Inherited members from Java.Lang.Number
Creates a new AtomicInteger with initial value 0. | ||
Creates a new AtomicInteger with the given initial value. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | AndDecrement | int. Atomically decrements by one the current value. |
[read-only] | AndIncrement | int. Atomically increments by one the current value. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
AddAndGet(int)Atomically adds the given value to the current value. | ||
CompareAndSet(int, int)Atomically sets the value to the given updated value if the current value == the expected value. | ||
DecrementAndGet()Atomically decrements by one the current value. | ||
override | DoubleValue()Returns the value of this AtomicInteger as a double after a widening primitive conversion. | |
override | FloatValue()Returns the value of this AtomicInteger as a float after a widening primitive conversion. | |
Get()Gets the current value. | ||
GetAndAdd(int)Atomically adds the given value to the current value. | ||
GetAndSet(int)Atomically sets to the given value and returns the old value. | ||
IncrementAndGet()Atomically increments by one the current value. | ||
override | IntValue()Returns the value of this AtomicInteger as an int. | |
LazySet(int)Eventually sets to the given value. | ||
override | LongValue()Returns the value of this AtomicInteger as a long after a widening primitive conversion. | |
Set(int)Sets to the given value. | ||
WeakCompareAndSet(int, int)Atomically sets the value to the given updated value if the current value == the expected value. |