Searched refs:fn (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DCompletionStage.java136 * @param fn the function to use to compute the value of the
141 public <U> CompletionStage<U> thenApply(Function<? super T,? extends U> fn); argument
152 * @param fn the function to use to compute the value of the
158 (Function<? super T,? extends U> fn);
168 * @param fn the function to use to compute the value of the
175 (Function<? super T,? extends U> fn,
273 * @param fn the function to use to compute the value of the
281 BiFunction<? super T,? super U,? extends V> fn);
293 * @param fn the function to use to compute the value of the
301 BiFunction<? super T,? super U,? extends V> fn);
157 thenApplyAsync(Function<? super T,? extends U> fn) argument
174 thenApplyAsync(Function<? super T,? extends U> fn, Executor executor) argument
279 thenCombine(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn) argument
299 thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn) argument
320 thenCombineAsync(CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor) argument
444 applyToEither(CompletionStage<? extends T> other, Function<? super T, U> fn) argument
463 applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T, U> fn) argument
483 applyToEitherAsync(CompletionStage<? extends T> other, Function<? super T, U> fn, Executor executor) argument
618 thenCompose(Function<? super T, ? extends CompletionStage<U>> fn) argument
643 thenComposeAsync(Function<? super T, ? extends CompletionStage<U>> fn) argument
668 thenComposeAsync(Function<? super T, ? extends CompletionStage<U>> fn, Executor executor) argument
687 handle(BiFunction<? super T, Throwable, ? extends U> fn) argument
706 handleAsync(BiFunction<? super T, Throwable, ? extends U> fn) argument
726 handleAsync(BiFunction<? super T, Throwable, ? extends U> fn, Executor executor) argument
821 exceptionally(Function<Throwable, ? extends T> fn) argument
[all...]
H A DCompletableFuture.java547 Function<? super T,? extends V> fn; field in class:CompletableFuture.UniApply
550 Function<? super T,? extends V> fn) {
551 super(executor, dep, src); this.fn = fn;
556 !d.uniApply(a = src, fn, mode > 0 ? null : this))
558 dep = null; src = null; fn = null;
603 Consumer<? super T> fn; field in class:CompletableFuture.UniAccept
605 CompletableFuture<T> src, Consumer<? super T> fn) {
606 super(executor, dep, src); this.fn = fn;
548 UniApply(Executor executor, CompletableFuture<V> dep, CompletableFuture<T> src, Function<? super T,? extends V> fn) argument
604 UniAccept(Executor executor, CompletableFuture<Void> dep, CompletableFuture<T> src, Consumer<? super T> fn) argument
658 Runnable fn; field in class:CompletableFuture.UniRun
659 UniRun(Executor executor, CompletableFuture<Void> dep, CompletableFuture<T> src, Runnable fn) argument
706 BiConsumer<? super T, ? super Throwable> fn; field in class:CompletableFuture.UniWhenComplete
707 UniWhenComplete(Executor executor, CompletableFuture<T> dep, CompletableFuture<T> src, BiConsumer<? super T, ? super Throwable> fn) argument
769 BiFunction<? super T, Throwable, ? extends V> fn; field in class:CompletableFuture.UniHandle
770 UniHandle(Executor executor, CompletableFuture<V> dep, CompletableFuture<T> src, BiFunction<? super T, Throwable, ? extends V> fn) argument
825 Function<? super Throwable, ? extends T> fn; field in class:CompletableFuture.UniExceptionally
826 UniExceptionally(CompletableFuture<T> dep, CompletableFuture<T> src, Function<? super Throwable, ? extends T> fn) argument
922 Function<? super T, ? extends CompletionStage<V>> fn; field in class:CompletableFuture.UniCompose
923 UniCompose(Executor executor, CompletableFuture<V> dep, CompletableFuture<T> src, Function<? super T, ? extends CompletionStage<V>> fn) argument
1065 BiFunction<? super T,? super U,? extends V> fn; field in class:CompletableFuture.BiApply
1066 BiApply(Executor executor, CompletableFuture<V> dep, CompletableFuture<T> src, CompletableFuture<U> snd, BiFunction<? super T,? super U,? extends V> fn) argument
1136 BiConsumer<? super T,? super U> fn; field in class:CompletableFuture.BiAccept
1137 BiAccept(Executor executor, CompletableFuture<Void> dep, CompletableFuture<T> src, CompletableFuture<U> snd, BiConsumer<? super T,? super U> fn) argument
1208 Runnable fn; field in class:CompletableFuture.BiRun
1209 BiRun(Executor executor, CompletableFuture<Void> dep, CompletableFuture<T> src, CompletableFuture<U> snd, Runnable fn) argument
1344 Function<? super T,? extends V> fn; field in class:CompletableFuture.OrApply
1345 OrApply(Executor executor, CompletableFuture<V> dep, CompletableFuture<T> src, CompletableFuture<U> snd, Function<? super T,? extends V> fn) argument
1408 Consumer<? super T> fn; field in class:CompletableFuture.OrAccept
1409 OrAccept(Executor executor, CompletableFuture<Void> dep, CompletableFuture<T> src, CompletableFuture<U> snd, Consumer<? super T> fn) argument
1472 Runnable fn; field in class:CompletableFuture.OrRun
1473 OrRun(Executor executor, CompletableFuture<Void> dep, CompletableFuture<T> src, CompletableFuture<U> snd, Runnable fn) argument
1581 CompletableFuture<T> dep; Supplier<? extends T> fn; field in class:CompletableFuture.AsyncSupply
1582 AsyncSupply(CompletableFuture<T> dep, Supplier<? extends T> fn) argument
1617 CompletableFuture<Void> dep; Runnable fn; field in class:CompletableFuture.AsyncRun
1618 AsyncRun(CompletableFuture<Void> dep, Runnable fn) argument
1978 thenApply( Function<? super T,? extends U> fn) argument
1983 thenApplyAsync( Function<? super T,? extends U> fn) argument
1988 thenApplyAsync( Function<? super T,? extends U> fn, Executor executor) argument
2019 thenCombine( CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn) argument
2025 thenCombineAsync( CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn) argument
2031 thenCombineAsync( CompletionStage<? extends U> other, BiFunction<? super T,? super U,? extends V> fn, Executor executor) argument
2071 applyToEither( CompletionStage<? extends T> other, Function<? super T, U> fn) argument
2076 applyToEitherAsync( CompletionStage<? extends T> other, Function<? super T, U> fn) argument
2081 applyToEitherAsync( CompletionStage<? extends T> other, Function<? super T, U> fn, Executor executor) argument
2119 thenCompose( Function<? super T, ? extends CompletionStage<U>> fn) argument
2124 thenComposeAsync( Function<? super T, ? extends CompletionStage<U>> fn) argument
2129 thenComposeAsync( Function<? super T, ? extends CompletionStage<U>> fn, Executor executor) argument
2150 handle( BiFunction<? super T, Throwable, ? extends U> fn) argument
2155 handleAsync( BiFunction<? super T, Throwable, ? extends U> fn) argument
2160 handleAsync( BiFunction<? super T, Throwable, ? extends U> fn, Executor executor) argument
2191 exceptionally( Function<Throwable, ? extends T> fn) argument
[all...]
/libcore/luni/src/main/java/java/util/concurrent/atomic/
H A DStriped64.java188 * @param fn the update function, or null for add (this convention
192 final void longAccumulate(long x, LongBinaryOperator fn, argument
227 (fn == null) ? v + x : fn.applyAsLong(v, x)))
259 (fn == null) ? v + x : fn.applyAsLong(v, x)))
264 private static long apply(DoubleBinaryOperator fn, long v, double x) { argument
266 d = (fn == null) ? d + x : fn.applyAsDouble(d, x);
276 final void doubleAccumulate(double x, DoubleBinaryOperator fn, argument
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DArrayPrefixHelpers.java108 final BinaryOperator<T> fn;
110 if ((fn = this.function) == null || (a = this.array) == null)
120 new CumulateTask<T>(t, fn, a, org, fnc, th, mid, h);
122 new CumulateTask<T>(t, fn, a, org, fnc, th, l, mid);
131 fn.apply(pin, lout));
180 a[i] = sum = fn.apply(sum, a[i]);
185 sum = fn.apply(sum, a[i]);
207 fn.apply(lout, rt.out));
260 final LongBinaryOperator fn;
262 if ((fn
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DPackage.java544 String fn = getSystemPackage0(name);
545 if (fn != null) {
546 pkg = defineSystemPackage(name, fn);
568 final String fn)
574 URL url = urls.get(fn);
577 File file = new File(fn);
583 urls.put(fn, url);
586 mans.put(fn, loadManifest(fn));
593 Manifest man = mans.get(fn);
567 defineSystemPackage(final String iname, final String fn) argument
609 loadManifest(String fn) argument
[all...]

Completed in 140 milliseconds