The methods of Java.Util.Concurrent.Atomic.AtomicInteger are listed below. For a list of all members, see the AtomicInteger Members list.
See Also: Inherited members from Java.Lang.Number
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. |