Java java.util.concurrent.atomic LongAdder fields, constructors, methods, implement or subclass

Example usage for Java java.util.concurrent.atomic LongAdder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.concurrent.atomic LongAdder.

The text is from its open source code.

Constructor

LongAdder()
Creates a new adder with initial sum of zero.

Method

voidadd(long x)
Adds the given value.
doubledoubleValue()
Returns the #sum as a double after a widening primitive conversion.
voidincrement()
Equivalent to add(1) .
intintValue()
Returns the #sum as an int after a narrowing primitive conversion.