| SN | Modifier and Type | Method | Description |
|---|
| 1 | int | addAndGet(int delta) | This method atomically adds the given value to the current value. |
| 2 | boolean | compareAndSet(int expect, int update) | This method atomically sets the value to the given updated value if the current value is equal to the expected value. |
| 3 | int | decrementAndGet() | This method atomically decrements by one the current value. |
| 4 | double | doubleValue() | This method returns the value of the specified number as a double. |
| 5 | float | floatValue() | This method returns the value of the specified number as a float. |
| 6 | int | get() | This method gets the current value. |
| 7 | int | getAndAdd() | This method atomically adds the given value to the current value. |
| 8 | int | getAndDecrement() | This method atomically decrements by one the current value. |
| 9 | int | getAndSet() | This method atomically sets to the given value and returns the old value. |
| 10 | int | incrementAndGet() | This method atomically increments by one the current value. |
| 11 | int | getAndIncrement() | This method atomically increments by one the current value. |
| 12 | int | intValue() | This method returns the value of the specified number as an int. |
| 13 | void | lazySet(int newValue) | This method Eventually sets to the given value. |
| 14 | long | longValue() | This method returns the value of the specified number as a long. |
| 15 | void | set(int newValue) | This method sets to the given value. |
| 16 | String | toString() | This method returns the String representation of the current value. |
| 17 | boolean | weakCompareAndSet(int expect,int newValue) | This method Atomically sets the value to the given updated value if the current value is equal to the expected value. |