Java java.util.concurrent.atomic AtomicInteger

Java examples for java.util.concurrent.atomic:AtomicInteger

Description

Click the following links for the tutorial for java.util.concurrent.atomic and AtomicInteger.

  1. Atomically do bitwise AND between the value in the AtomicInteger and the specified Value
  2. Atomically do bitwise OR between the value in the AtomicInteger and the specified value
  3. set AtomicInteger Bit By Index
  4. set AtomicInteger Bit By Value
  5. set AtomicInteger Bit If Unset By Index
  6. set AtomicInteger Bit If Unset By Value
  7. unset AtomicInteger Bit By Index
  8. unset AtomicInteger Bit By Value


  9. unset AtomicInteger Bit If Set By Index
  10. unset AtomicInteger Bit If Set By Value
  11. Atomically ensures that the specified AtomicInteger holds max(its current value, specified value), using possibly multiple CASes, and returns this max value.
  12. Atomically ensures that the specified AtomicInteger holds min(its current value, specified value), using possibly multiple CASes, and returns this min value.
  13. Atomically ensures that the specified AtomicInteger holds max(its current value, specified value), using possibly multiple CASes, and returns value read before CAS or before finding out no CAS is needed.
  14. Atomically ensures that the specified AtomicInteger holds min(its current value, specified value), using possibly multiple CASes, and returns value read before CAS or before finding out no CAS is needed.
  15. try Decrement AtomicInteger And Get If Greater Than
  16. try Decrement AtomicInteger If Greater Than


  17. try Increment AtomicInteger And Get If Less Than
  18. try Increment AtomicInteger If Greater Than
  19. try Increment AtomicInteger If Less Than