Example usage for Java java.util.concurrent.atomic LongAdder fields, constructors, methods, implement or subclass
The text is from its open source code.
LongAdder() Creates a new adder with initial sum of zero. |
void | add(long x) Adds the given value. |
double | doubleValue() Returns the #sum as a double after a widening primitive conversion. |
void | increment() Equivalent to add(1) . |
int | intValue() Returns the #sum as an int after a narrowing primitive conversion. |