/libcore/ojluni/src/main/java/java/util/function/ |
D | DoubleUnaryOperator.java | 49 double applyAsDouble(double operand); in applyAsDouble() method 66 return (double v) -> applyAsDouble(before.applyAsDouble(v)); in compose() 84 return (double t) -> after.applyAsDouble(applyAsDouble(t)); in andThen()
|
D | IntToDoubleFunction.java | 47 double applyAsDouble(int value); in applyAsDouble() method
|
D | LongToDoubleFunction.java | 47 double applyAsDouble(long value); in applyAsDouble() method
|
D | DoubleBinaryOperator.java | 48 double applyAsDouble(double left, double right); in applyAsDouble() method
|
D | ToDoubleFunction.java | 48 double applyAsDouble(T value); in applyAsDouble() method
|
D | ToDoubleBiFunction.java | 51 double applyAsDouble(T t, U u); in applyAsDouble() method
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | DoubleUnaryOperatorTest.java | 28 assertEquals(1.0d, DoubleUnaryOperator.identity().applyAsDouble(1.0d)); in testIdentity() 29 assertEquals(Double.NaN, DoubleUnaryOperator.identity().applyAsDouble(Double.NaN)); in testIdentity() 31 DoubleUnaryOperator.identity().applyAsDouble(Double.NEGATIVE_INFINITY)); in testIdentity() 33 DoubleUnaryOperator.identity().applyAsDouble(Double.MAX_VALUE)); in testIdentity() 39 assertEquals(11.0d, plusOne.compose(twice).applyAsDouble(5.0d)); in testCompose() 53 assertEquals(12.0d, plusOne.andThen(twice).applyAsDouble(5.0d)); in testAndThen()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | DoubleAccumulator.java | 106 (function.applyAsDouble in accumulate() 113 (function.applyAsDouble in accumulate() 135 result = function.applyAsDouble in get() 178 result = function.applyAsDouble(result, v); in getThenReset()
|
D | Striped64.java | 296 d = (fn == null) ? d + x : fn.applyAsDouble(d, x); in apply()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Comparator.java | 532 … (c1, c2) -> Double.compare(keyExtractor.applyAsDouble(c1), keyExtractor.applyAsDouble(c2)); in comparingDouble()
|
D | ArrayPrefixHelpers.java | 462 fn.applyAsDouble(pin, lout)); in compute() 511 a[i] = sum = fn.applyAsDouble(sum, a[i]); in compute() 516 sum = fn.applyAsDouble(sum, a[i]); in compute() 536 fn.applyAsDouble(lout, rt.out)); in compute()
|
D | Arrays.java | 4744 array[i] = generator.applyAsDouble(i); in setAll() 4763 …tStream.range(0, array.length).parallel().forEach(i -> { array[i] = generator.applyAsDouble(i); }); in parallelSetAll()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collectors.java | 518 (a, t) -> { sumWithCompensation(a, mapper.applyAsDouble(t)); 519 a[2] += mapper.applyAsDouble(t);}, 630 …(a, t) -> { sumWithCompensation(a, mapper.applyAsDouble(t)); a[2]++; a[3]+= mapper.applyAsDouble(t… 1533 (r, t) -> r.accept(mapper.applyAsDouble(t)),
|
D | DoubleStream.java | 788 t = f.applyAsDouble(t); in iterate()
|
D | ReduceOps.java | 530 state = operator.applyAsDouble(state, t); 578 state = operator.applyAsDouble(state, t);
|
D | DoublePipeline.java | 206 downstream.accept(mapper.applyAsDouble(t)); in map()
|
D | IntPipeline.java | 297 downstream.accept(mapper.applyAsDouble(t));
|
D | LongPipeline.java | 278 downstream.accept(mapper.applyAsDouble(t));
|
D | ReferencePipeline.java | 257 downstream.accept(mapper.applyAsDouble(u));
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 5779 r = reducer.applyAsDouble(r, transformer.applyAsDouble(p.key)); in compute() 5788 t.result = reducer.applyAsDouble(t.result, s.result); in compute() 5829 r = reducer.applyAsDouble(r, transformer.applyAsDouble(p.val)); in compute() 5838 t.result = reducer.applyAsDouble(t.result, s.result); in compute() 5879 r = reducer.applyAsDouble(r, transformer.applyAsDouble(p)); in compute() 5888 t.result = reducer.applyAsDouble(t.result, s.result); in compute() 5929 r = reducer.applyAsDouble(r, transformer.applyAsDouble(p.key, p.val)); in compute() 5938 t.result = reducer.applyAsDouble(t.result, s.result); in compute()
|