/libcore/ojluni/src/main/java/java/util/function/ |
D | IntUnaryOperator.java | 49 int applyAsInt(int operand); in applyAsInt() method 66 return (int v) -> applyAsInt(before.applyAsInt(v)); in compose() 84 return (int t) -> after.applyAsInt(applyAsInt(t)); in andThen()
|
D | DoubleToIntFunction.java | 47 int applyAsInt(double value); in applyAsInt() method
|
D | LongToIntFunction.java | 47 int applyAsInt(long value); in applyAsInt() method
|
D | IntBinaryOperator.java | 49 int applyAsInt(int left, int right); in applyAsInt() method
|
D | ToIntFunction.java | 48 int applyAsInt(T value); in applyAsInt() method
|
D | ToIntBiFunction.java | 51 int applyAsInt(T t, U u); in applyAsInt() method
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | IntUnaryOperatorTest.java | 26 assertEquals(1, IntUnaryOperator.identity().applyAsInt(1)); in testIdentity() 27 assertEquals(Integer.MAX_VALUE, IntUnaryOperator.identity().applyAsInt(Integer.MAX_VALUE)); in testIdentity() 33 assertEquals(11, plusOne.compose(twice).applyAsInt(5)); in testCompose() 47 assertEquals(12, plusOne.andThen(twice).applyAsInt(5)); in testAndThen()
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 223 next = updateFunction.applyAsInt(prev); in getAndUpdate() 242 next = updateFunction.applyAsInt(prev); in updateAndGet() 266 next = accumulatorFunction.applyAsInt(prev, x); in getAndAccumulate() 290 next = accumulatorFunction.applyAsInt(prev, x); in accumulateAndGet()
|
D | AtomicIntegerArray.java | 267 next = updateFunction.applyAsInt(prev); in getAndUpdate() 288 next = updateFunction.applyAsInt(prev); in updateAndGet() 314 next = accumulatorFunction.applyAsInt(prev, x); in getAndAccumulate() 340 next = accumulatorFunction.applyAsInt(prev, x); in accumulateAndGet()
|
D | AtomicIntegerFieldUpdater.java | 290 next = updateFunction.applyAsInt(prev); in getAndUpdate() 310 next = updateFunction.applyAsInt(prev); in updateAndGet() 335 next = accumulatorFunction.applyAsInt(prev, x); in getAndAccumulate() 360 next = accumulatorFunction.applyAsInt(prev, x); in accumulateAndGet()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Comparator.java | 490 (c1, c2) -> Integer.compare(keyExtractor.applyAsInt(c1), keyExtractor.applyAsInt(c2)); in comparingInt()
|
D | ArrayPrefixHelpers.java | 612 fn.applyAsInt(pin, lout)); in compute() 661 a[i] = sum = fn.applyAsInt(sum, a[i]); in compute() 666 sum = fn.applyAsInt(sum, a[i]); in compute() 686 fn.applyAsInt(lout, rt.out)); in compute()
|
D | Arrays.java | 4668 array[i] = generator.applyAsInt(i); in setAll() 4687 … IntStream.range(0, array.length).parallel().forEach(i -> { array[i] = generator.applyAsInt(i); }); in parallelSetAll()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | IntStream.java | 754 t = f.applyAsInt(t); in iterate()
|
D | ReduceOps.java | 258 state = operator.applyAsInt(state, t); 306 state = operator.applyAsInt(state, t);
|
D | Collectors.java | 467 (a, t) -> { a[0] += mapper.applyAsInt(t); }, 575 (a, t) -> { a[0] += mapper.applyAsInt(t); a[1]++; }, 1493 (r, t) -> r.accept(mapper.applyAsInt(t)),
|
D | DoublePipeline.java | 242 downstream.accept(mapper.applyAsInt(t));
|
D | LongPipeline.java | 260 downstream.accept(mapper.applyAsInt(t));
|
D | IntPipeline.java | 243 downstream.accept(mapper.applyAsInt(t));
|
D | ReferencePipeline.java | 221 downstream.accept(mapper.applyAsInt(u));
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | TestData.java | 248 return sizeFn.applyAsInt(state); in size()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | TestData.java | 247 return sizeFn.applyAsInt(state); in size()
|