Click or drag to resize

AtomicInteger Methods

The AtomicInteger type exposes the following members.

Methods
  NameDescription
Public methodAdd
Atomically add a integer to the value.
Public methodCompareAndSwap
Compares two 32-bit signed integers for equality and, if they are equal, replaces one of the values.
Public methodDecrement
Atomically decrement the value by 1.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIncrement
Atomically increment the value by 1.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSubtract
Atomically subtract a integer to the value.
Public methodToString (Inherited from Object.)
Top
See Also