/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | DoubleAccumulator.java | 39 import java.util.function.DoubleBinaryOperator; 82 private final DoubleBinaryOperator function; field in DoubleAccumulator 93 this.function = accumulatorFunction; in DoubleAccumulator() 106 (function.applyAsDouble in accumulate() 113 (function.applyAsDouble in accumulate() 116 doubleAccumulate(x, function, uncontended); in accumulate() 135 result = function.applyAsDouble in get() 178 result = function.applyAsDouble(result, v); in getThenReset() 244 private final DoubleBinaryOperator function; field in DoubleAccumulator.SerializationProxy 255 DoubleBinaryOperator function, in SerializationProxy() argument [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DoubleStream.java | 39 import java.util.function.BiConsumer; 40 import java.util.function.DoubleBinaryOperator; 41 import java.util.function.DoubleConsumer; 42 import java.util.function.DoubleFunction; 43 import java.util.function.DoublePredicate; 44 import java.util.function.DoubleSupplier; 45 import java.util.function.DoubleToIntFunction; 46 import java.util.function.DoubleToLongFunction; 47 import java.util.function.DoubleUnaryOperator; 48 import java.util.function.Function; [all …]
|
D | IntStream.java | 35 import java.util.function.BiConsumer; 36 import java.util.function.Function; 37 import java.util.function.IntBinaryOperator; 38 import java.util.function.IntConsumer; 39 import java.util.function.IntFunction; 40 import java.util.function.IntPredicate; 41 import java.util.function.IntSupplier; 42 import java.util.function.IntToDoubleFunction; 43 import java.util.function.IntToLongFunction; 44 import java.util.function.IntUnaryOperator; [all …]
|
D | LongStream.java | 40 import java.util.function.BiConsumer; 41 import java.util.function.Function; 42 import java.util.function.LongBinaryOperator; 43 import java.util.function.LongConsumer; 44 import java.util.function.LongFunction; 45 import java.util.function.LongPredicate; 46 import java.util.function.LongSupplier; 47 import java.util.function.LongToDoubleFunction; 48 import java.util.function.LongToIntFunction; 49 import java.util.function.LongUnaryOperator; [all …]
|
D | package-info.java | 739 import java.util.function.BinaryOperator; 740 import java.util.function.UnaryOperator;
|
D | Collector.java | 31 import java.util.function.BiConsumer; 32 import java.util.function.BinaryOperator; 33 import java.util.function.Function; 34 import java.util.function.Supplier;
|
D | Sink.java | 28 import java.util.function.Consumer; 29 import java.util.function.DoubleConsumer; 30 import java.util.function.IntConsumer; 31 import java.util.function.LongConsumer;
|
/libcore/ojluni/annotations/mmodule/java/util/concurrent/ |
D | CompletableFuture.annotated.java | 39 import java.util.function.Supplier; 46 public static <U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier… in supplyAsync() 48 public static <U> java.util.concurrent.CompletableFuture<U> supplyAsync(java.util.function.Supplier… in supplyAsync() 70 public <U> java.util.concurrent.CompletableFuture<U> thenApply(java.util.function.Function<? super … in thenApply() 72 public <U> java.util.concurrent.CompletableFuture<U> thenApplyAsync(java.util.function.Function<? s… in thenApplyAsync() 74 public <U> java.util.concurrent.CompletableFuture<U> thenApplyAsync(java.util.function.Function<? s… in thenApplyAsync() 76 public java.util.concurrent.CompletableFuture<java.lang.Void> thenAccept(java.util.function.Consume… in thenAccept() 78 public java.util.concurrent.CompletableFuture<java.lang.Void> thenAcceptAsync(java.util.function.Co… in thenAcceptAsync() 80 public java.util.concurrent.CompletableFuture<java.lang.Void> thenAcceptAsync(java.util.function.Co… in thenAcceptAsync() 88 …bine(java.util.concurrent.CompletionStage<? extends U> other, java.util.function.BiFunction<? supe… in thenCombine() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | ArrayPrefixHelpers.java | 40 import java.util.function.BinaryOperator; 41 import java.util.function.DoubleBinaryOperator; 42 import java.util.function.IntBinaryOperator; 43 import java.util.function.LongBinaryOperator; 107 final BinaryOperator<T> function; field in ArrayPrefixHelpers.CumulateTask 114 BinaryOperator<T> function, in CumulateTask() argument 117 this.function = function; this.array = array; in CumulateTask() 126 CumulateTask(CumulateTask<T> parent, BinaryOperator<T> function, in CumulateTask() argument 130 this.function = function; this.array = array; in CumulateTask() 139 if ((fn = this.function) == null || (a = this.array) == null) in compute() [all …]
|
D | Comparators.java | 28 import java.util.function.BinaryOperator; 29 import java.util.function.Function; 30 import java.util.function.ToDoubleFunction; 31 import java.util.function.ToIntFunction; 32 import java.util.function.ToLongFunction;
|
D | PrimitiveIterator.java | 27 import java.util.function.Consumer; 28 import java.util.function.DoubleConsumer; 29 import java.util.function.IntConsumer; 30 import java.util.function.LongConsumer;
|
D | OptionalDouble.java | 27 import java.util.function.DoubleConsumer; 28 import java.util.function.DoubleSupplier; 29 import java.util.function.Supplier;
|
D | OptionalInt.java | 27 import java.util.function.IntConsumer; 28 import java.util.function.IntSupplier; 29 import java.util.function.Supplier;
|
D | OptionalLong.java | 27 import java.util.function.LongConsumer; 28 import java.util.function.LongSupplier; 29 import java.util.function.Supplier;
|
D | Optional.java | 27 import java.util.function.Consumer; 28 import java.util.function.Function; 29 import java.util.function.Predicate; 30 import java.util.function.Supplier;
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/atomic/ |
D | AtomicInteger.java | 99 public final int getAndUpdate(java.util.function.IntUnaryOperator updateFunction) { in getAndUpdate() 103 public final int updateAndGet(java.util.function.IntUnaryOperator updateFunction) { in updateAndGet() 108 int x, java.util.function.IntBinaryOperator accumulatorFunction) { in getAndAccumulate() 113 int x, java.util.function.IntBinaryOperator accumulatorFunction) { in accumulateAndGet()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestHelpers.java | 27 import java.util.function.BiConsumer; 28 import java.util.function.BiPredicate; 29 import java.util.function.BinaryOperator; 30 import java.util.function.Consumer; 31 import java.util.function.DoubleBinaryOperator; 32 import java.util.function.DoubleConsumer; 33 import java.util.function.DoublePredicate; 34 import java.util.function.Function; 35 import java.util.function.IntBinaryOperator; 36 import java.util.function.IntConsumer; [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestHelpers.java | 26 import java.util.function.BiConsumer; 27 import java.util.function.BiPredicate; 28 import java.util.function.BinaryOperator; 29 import java.util.function.Consumer; 30 import java.util.function.DoubleBinaryOperator; 31 import java.util.function.DoubleConsumer; 32 import java.util.function.DoublePredicate; 33 import java.util.function.Function; 34 import java.util.function.IntBinaryOperator; 35 import java.util.function.IntConsumer; [all …]
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | BiFunctionTest.java | 17 package libcore.java.util.function; 21 import java.util.function.BiFunction; 22 import java.util.function.Function;
|
D | UnaryOperatorTest.java | 17 package libcore.java.util.function; 21 import java.util.function.UnaryOperator;
|
D | DoubleUnaryOperatorTest.java | 17 package libcore.java.util.function; 22 import java.util.function.BinaryOperator; 23 import java.util.function.DoubleUnaryOperator;
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | CSVTest.java | 66 String function = testCase[0]; in runTest() local 70 if (twoInputFunctions.contains(function)) { in runTest() 75 run2InputTest(function, expectedOutput, input, input2, extra); in runTest() 80 runTest(function, expectedOutput, input, extra); in runTest()
|
/libcore/luni/src/main/native/ |
D | IcuUtilities.cpp | 25 bool maybeThrowIcuException(JNIEnv* env, const char* function, UErrorCode error) { in maybeThrowIcuException() argument 39 jniThrowExceptionFmt(env, exceptionClass, "%s failed: %s", function, u_errorName(error)); in maybeThrowIcuException()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Arrays.java | 198 public static <T> void parallelPrefix(T[] array, java.util.function.BinaryOperator<T> op) { in parallelPrefix() 203 T[] array, int fromIndex, int toIndex, java.util.function.BinaryOperator<T> op) { in parallelPrefix() 207 public static void parallelPrefix(long[] array, java.util.function.LongBinaryOperator op) { in parallelPrefix() 212 long[] array, int fromIndex, int toIndex, java.util.function.LongBinaryOperator op) { in parallelPrefix() 216 public static void parallelPrefix(double[] array, java.util.function.DoubleBinaryOperator op) { in parallelPrefix() 224 java.util.function.DoubleBinaryOperator op) { in parallelPrefix() 228 public static void parallelPrefix(int[] array, java.util.function.IntBinaryOperator op) { in parallelPrefix() 233 int[] array, int fromIndex, int toIndex, java.util.function.IntBinaryOperator op) { in parallelPrefix() 641 T[] array, java.util.function.IntFunction<? extends T> generator) { in setAll() 646 T[] array, java.util.function.IntFunction<? extends T> generator) { in parallelSetAll() [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | HashMap.annotated.java | 75 …(@libcore.util.NullFromTypeParam K key, @libcore.util.NonNull java.util.function.Function<? super … in computeIfAbsent() 77 …(@libcore.util.NullFromTypeParam K key, @libcore.util.NonNull java.util.function.BiFunction<? supe… in computeIfPresent() 79 …(@libcore.util.NullFromTypeParam K key, @libcore.util.NonNull java.util.function.BiFunction<? supe… in compute() 81 …m K key, @libcore.util.NonNull V value, @libcore.util.NonNull java.util.function.BiFunction<? supe… in merge() 83 public void forEach(@libcore.util.NonNull java.util.function.BiConsumer<? super @libcore.util.NullF… in forEach() 85 …function.BiFunction<? super @libcore.util.NullFromTypeParam K,? super @libcore.util.NullFromTypePa… in replaceAll() argument
|