Home
last modified time | relevance | path

Searched refs:LongAccumulator (Results 1 – 3 of 3) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DLongAccumulatorTest.java12 import java.util.concurrent.atomic.LongAccumulator;
32 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testConstructor()
40 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testAccumulateAndGet()
53 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testReset()
64 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testGetThenReset()
75 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testToString()
85 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testIntValue()
95 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testLongValue()
105 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testFloatValue()
115 LongAccumulator ai = new LongAccumulator(Long::max, 0L); in testDoubleValue()
[all …]
/libcore/luni/src/main/java/java/util/concurrent/atomic/
DLongAccumulator.java52 public class LongAccumulator extends Striped64 implements Serializable { class
64 public LongAccumulator(LongBinaryOperator accumulatorFunction, in LongAccumulator() method in LongAccumulator
236 LongAccumulator a = new LongAccumulator(function, identity); in readResolve()
/libcore/
Dnon_openjdk_java_files.mk158 luni/src/main/java/java/util/concurrent/atomic/LongAccumulator.java \