April 2017
Intermediate to advanced
594 pages
25h 15m
English
As mentioned in the introduction, there are other atomic classes in Java. AtomicBoolean, AtomicInteger, and AtomicReference are other examples of atomic classes.
The LongAdder class provides other interesting methods as follows:
You can also use the DoubleAdder class that is similar to LongAdder, but it doesn't have the increment() and decrement() methods and the internal counter is a double value.
You can also use the LongAccumulator class that is similar to DoubleAccumulator but with an internal long counter.
Read now
Unlock full access