/libcore/ojluni/annotations/flagged_api/java/util/stream/ |
D | DoubleStream.annotated.java | 31 public java.util.stream.DoubleStream filter(java.util.function.DoublePredicate predicate); in filter() 33 public java.util.stream.DoubleStream map(java.util.function.DoubleUnaryOperator mapper); in map() 35 public <U> java.util.stream.Stream<U> mapToObj(java.util.function.DoubleFunction<? extends U> mappe… in mapToObj() 37 public java.util.stream.IntStream mapToInt(java.util.function.DoubleToIntFunction mapper); in mapToInt() 39 public java.util.stream.LongStream mapToLong(java.util.function.DoubleToLongFunction mapper); in mapToLong() 41 public java.util.stream.DoubleStream flatMap(java.util.function.DoubleFunction<? extends java.util.… in flatMap() 50 public java.util.stream.DoubleStream peek(java.util.function.DoubleConsumer action); in peek() 57 public default java.util.stream.DoubleStream takeWhile(java.util.function.DoublePredicate predicate… in takeWhile() 60 public default java.util.stream.DoubleStream dropWhile(java.util.function.DoublePredicate predicate… in dropWhile() 62 public void forEach(java.util.function.DoubleConsumer action); in forEach() [all …]
|
D | Collectors.annotated.java | 33 …Collection<T>> java.util.stream.Collector<T,?,C> toCollection(java.util.function.Supplier<C> colle… in toCollection() 49 public static <T, U, A, R> java.util.stream.Collector<T,?,R> mapping(java.util.function.Function<? … in mapping() 51 public static <T, U, A, R> java.util.stream.Collector<T,?,R> flatMapping(java.util.function.Functio… in flatMapping() 53 public static <T, A, R> java.util.stream.Collector<T,?,R> filtering(java.util.function.Predicate<? … in filtering() 55 …llectingAndThen(java.util.stream.Collector<T,A,R> downstream, java.util.function.Function<R,RR> fi… in collectingAndThen() 63 public static <T> java.util.stream.Collector<T,?,java.lang.Integer> summingInt(java.util.function.T… in summingInt() 65 public static <T> java.util.stream.Collector<T,?,java.lang.Long> summingLong(java.util.function.ToL… in summingLong() 67 public static <T> java.util.stream.Collector<T,?,java.lang.Double> summingDouble(java.util.function… in summingDouble() 69 public static <T> java.util.stream.Collector<T,?,java.lang.Double> averagingInt(java.util.function.… in averagingInt() 71 public static <T> java.util.stream.Collector<T,?,java.lang.Double> averagingLong(java.util.function… in averagingLong() [all …]
|
D | IntStream.annotated.java | 31 public java.util.stream.IntStream filter(java.util.function.IntPredicate predicate); in filter() 33 public java.util.stream.IntStream map(java.util.function.IntUnaryOperator mapper); in map() 35 public <U> java.util.stream.Stream<U> mapToObj(java.util.function.IntFunction<? extends U> mapper); in mapToObj() 37 public java.util.stream.LongStream mapToLong(java.util.function.IntToLongFunction mapper); in mapToLong() 39 public java.util.stream.DoubleStream mapToDouble(java.util.function.IntToDoubleFunction mapper); in mapToDouble() 41 public java.util.stream.IntStream flatMap(java.util.function.IntFunction<? extends java.util.stream… in flatMap() 50 public java.util.stream.IntStream peek(java.util.function.IntConsumer action); in peek() 57 public default java.util.stream.IntStream takeWhile(java.util.function.IntPredicate predicate) { th… in takeWhile() 60 public default java.util.stream.IntStream dropWhile(java.util.function.IntPredicate predicate) { th… in dropWhile() 62 public void forEach(java.util.function.IntConsumer action); in forEach() [all …]
|
D | LongStream.annotated.java | 31 public java.util.stream.LongStream filter(java.util.function.LongPredicate predicate); in filter() 33 public java.util.stream.LongStream map(java.util.function.LongUnaryOperator mapper); in map() 35 public <U> java.util.stream.Stream<U> mapToObj(java.util.function.LongFunction<? extends U> mapper); in mapToObj() 37 public java.util.stream.IntStream mapToInt(java.util.function.LongToIntFunction mapper); in mapToInt() 39 public java.util.stream.DoubleStream mapToDouble(java.util.function.LongToDoubleFunction mapper); in mapToDouble() 41 public java.util.stream.LongStream flatMap(java.util.function.LongFunction<? extends java.util.stre… in flatMap() 50 public java.util.stream.LongStream peek(java.util.function.LongConsumer action); in peek() 57 public default java.util.stream.LongStream takeWhile(java.util.function.LongPredicate predicate) { … in takeWhile() 60 public default java.util.stream.LongStream dropWhile(java.util.function.LongPredicate predicate) { … in dropWhile() 62 public void forEach(java.util.function.LongConsumer action); in forEach() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | LongAccumulator.java | 39 import java.util.function.LongBinaryOperator; 86 private final LongBinaryOperator function; field in LongAccumulator 97 this.function = accumulatorFunction; in LongAccumulator() 109 || ((r = function.applyAsLong(b = base, x)) != b in accumulate() 117 (r = function.applyAsLong(v = c.value, x)) == v in accumulate() 119 longAccumulate(x, function, uncontended, index); in accumulate() 138 result = function.applyAsLong(result, c.value); in get() 178 result = function.applyAsLong(result, v); in getThenReset() 245 private final LongBinaryOperator function; field in LongAccumulator.SerializationProxy 254 LongBinaryOperator function, in SerializationProxy() argument [all …]
|
D | DoubleAccumulator.java | 42 import java.util.function.DoubleBinaryOperator; 88 private final DoubleBinaryOperator function; field in DoubleAccumulator 99 this.function = accumulatorFunction; in DoubleAccumulator() 112 (function.applyAsDouble(longBitsToDouble(b = base), x))) != b in accumulate() 121 (function.applyAsDouble in accumulate() 124 doubleAccumulate(x, function, uncontended, index); in accumulate() 143 result = function.applyAsDouble in get() 184 result = function.applyAsDouble(result, v); in getThenReset() 251 private final DoubleBinaryOperator function; field in DoubleAccumulator.SerializationProxy 262 DoubleBinaryOperator function, in SerializationProxy() argument [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/ |
D | ConcurrentHashMap.annotated.java | 49 import java.util.function.Function; 104 …public void forEach(@libcore.util.NonNull java.util.function.BiConsumer<? super @libcore.util.NonN… in forEach() 106 …ll java.util.function.BiFunction<? super @libcore.util.NonNull K,? super @libcore.util.NonNull V,?… in replaceAll() argument 108 …teIfAbsent(@libcore.util.NonNull K key, @libcore.util.NonNull java.util.function.Function<? super … in computeIfAbsent() 110 …eIfPresent(@libcore.util.NonNull K key, @libcore.util.NonNull java.util.function.BiFunction<? supe… in computeIfPresent() 112 … V compute(@libcore.util.NonNull K key, @libcore.util.NonNull java.util.function.BiFunction<? supe… in compute() 114 …l K key, @libcore.util.NonNull V value, @libcore.util.NonNull java.util.function.BiFunction<? supe… in merge() 130 …public void forEach(long parallelismThreshold, @libcore.util.NonNull java.util.function.BiConsumer… in forEach() 132 …function.BiFunction<? super @libcore.util.NonNull K,? super @libcore.util.NonNull V,? extends @lib… in forEach() 134 …<U> U search(long parallelismThreshold, @libcore.util.NonNull java.util.function.BiFunction<? supe… in search() [all …]
|
/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/test/java/lang/StackWalker/ |
D | WalkFunction.java | 35 import java.util.function.Function; 89 Function<? super Stream<? extends StackFrame>, Void> f1 = WalkFunction::function; in testWildcards() 90 Function<? super Stream<? super StackFrame>, Void> f2 = WalkFunction::function; in testWildcards() 91 Function<? super Stream<StackFrame>, Void> f3 = WalkFunction::function; in testWildcards() 92 Function<Stream<? extends StackFrame>, Void> f4 = WalkFunction::function; in testWildcards() 93 Function<Stream<? super StackFrame>, Void> f5 = WalkFunction::function; in testWildcards() 94 Function<Stream<StackFrame>, Void> f6 = WalkFunction::function; in testWildcards() 103 private static Void function(Stream<?> s) { in function() method
|
/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; 109 final BinaryOperator<T> function; field in ArrayPrefixHelpers.CumulateTask 119 BinaryOperator<T> function, in CumulateTask() argument 122 this.function = function; this.array = array; in CumulateTask() 131 CumulateTask(CumulateTask<T> parent, BinaryOperator<T> function, in CumulateTask() argument 135 this.function = function; this.array = array; in CumulateTask() 144 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;
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | DefaultMethodStreams.java | 41 import java.util.function.BiConsumer; 42 import java.util.function.BiFunction; 43 import java.util.function.BinaryOperator; 44 import java.util.function.Consumer; 45 import java.util.function.DoubleBinaryOperator; 46 import java.util.function.DoubleConsumer; 47 import java.util.function.DoubleFunction; 48 import java.util.function.DoublePredicate; 49 import java.util.function.DoubleToIntFunction; 50 import java.util.function.DoubleToLongFunction; [all …]
|
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/main/java/java/util/stream/ |
D | DoubleStream.java | 34 import java.util.function.BiConsumer; 35 import java.util.function.DoubleBinaryOperator; 36 import java.util.function.DoubleConsumer; 37 import java.util.function.DoubleFunction; 38 import java.util.function.DoublePredicate; 39 import java.util.function.DoubleSupplier; 40 import java.util.function.DoubleToIntFunction; 41 import java.util.function.DoubleToLongFunction; 42 import java.util.function.DoubleUnaryOperator; 43 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 | Stream.java | 31 import java.util.function.BiConsumer; 32 import java.util.function.BiFunction; 33 import java.util.function.BinaryOperator; 34 import java.util.function.Consumer; 35 import java.util.function.DoubleConsumer; 36 import java.util.function.Function; 37 import java.util.function.IntConsumer; 38 import java.util.function.IntFunction; 39 import java.util.function.LongConsumer; 40 import java.util.function.Predicate; [all …]
|
D | LongStream.java | 35 import java.util.function.BiConsumer; 36 import java.util.function.Function; 37 import java.util.function.LongBinaryOperator; 38 import java.util.function.LongConsumer; 39 import java.util.function.LongFunction; 40 import java.util.function.LongPredicate; 41 import java.util.function.LongSupplier; 42 import java.util.function.LongToDoubleFunction; 43 import java.util.function.LongToIntFunction; 44 import java.util.function.LongUnaryOperator; [all …]
|
/libcore/ojluni/annotations/flagged_api/java/util/ |
D | HashMap.annotated.java | 74 public V computeIfAbsent(K key, java.util.function.Function<? super K,? extends V> mappingFunction)… in computeIfAbsent() 76 public V computeIfPresent(K key, java.util.function.BiFunction<? super K,? super V,? extends V> rem… in computeIfPresent() 78 public V compute(K key, java.util.function.BiFunction<? super K,? super V,? extends V> remappingFun… in compute() 80 public V merge(K key, V value, java.util.function.BiFunction<? super V,? super V,? extends V> remap… in merge() 82 public void forEach(java.util.function.BiConsumer<? super K,? super V> action) { throw new RuntimeE… in forEach() 84 public void replaceAll(java.util.function.BiFunction<? super K,? super V,? extends V> function) { t… in replaceAll() argument
|
/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/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/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 40 import java.util.function.BiConsumer; 41 import java.util.function.BiFunction; 42 import java.util.function.Function; 285 default void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() argument 286 Objects.requireNonNull(function); in replaceAll() 288 while (!replace(k, v, function.apply(k, v))) { in replaceAll()
|
/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/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/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;
|