Package | Description |
---|---|
com.mingweisamuel.zyra.util |
Contains generally useful classes used internally by Zyra.
|
Modifier and Type | Method and Description |
---|---|
LazyResetableFuture<Void> |
LazyResetableFuture.acceptEither(CompletionStage<? extends T> other,
Consumer<? super T> action) |
LazyResetableFuture<Void> |
LazyResetableFuture.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action) |
LazyResetableFuture<Void> |
LazyResetableFuture.acceptEitherAsync(CompletionStage<? extends T> other,
Consumer<? super T> action,
Executor executor) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.applyToEither(CompletionStage<? extends T> other,
Function<? super T,U> fn) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.applyToEitherAsync(CompletionStage<? extends T> other,
Function<? super T,U> fn) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.applyToEitherAsync(CompletionStage<? extends T> other,
Function<? super T,U> fn,
Executor executor) |
static <T> LazyResetableFuture<T> |
LazyResetableFuture.completedFuture(T value)
Creates a completed LazyResetableFuture.
|
LazyResetableFuture<T> |
LazyResetableFuture.exceptionally(Function<Throwable,? extends T> fn) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.handle(BiFunction<? super T,Throwable,? extends U> fn) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.handleAsync(BiFunction<? super T,Throwable,? extends U> fn) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.handleAsync(BiFunction<? super T,Throwable,? extends U> fn,
Executor executor) |
LazyResetableFuture<Void> |
LazyResetableFuture.runAfterBoth(CompletionStage<?> other,
Runnable action) |
LazyResetableFuture<Void> |
LazyResetableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action) |
LazyResetableFuture<Void> |
LazyResetableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
LazyResetableFuture<Void> |
LazyResetableFuture.runAfterEither(CompletionStage<?> other,
Runnable action) |
LazyResetableFuture<Void> |
LazyResetableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action) |
LazyResetableFuture<Void> |
LazyResetableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
static <T> LazyResetableFuture<T> |
LazyResetableFuture.startedFuture(CompletableFuture<T> future)
Creates a LazyResetableFuture with a future that has already been started.
|
LazyResetableFuture<Void> |
LazyResetableFuture.thenAccept(Consumer<? super T> action) |
LazyResetableFuture<Void> |
LazyResetableFuture.thenAcceptAsync(Consumer<? super T> action) |
LazyResetableFuture<Void> |
LazyResetableFuture.thenAcceptAsync(Consumer<? super T> action,
Executor executor) |
<U> LazyResetableFuture<Void> |
LazyResetableFuture.thenAcceptBoth(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
<U> LazyResetableFuture<Void> |
LazyResetableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action) |
<U> LazyResetableFuture<Void> |
LazyResetableFuture.thenAcceptBothAsync(CompletionStage<? extends U> other,
BiConsumer<? super T,? super U> action,
Executor executor) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.thenApply(Function<? super T,? extends U> fn) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.thenApplyAsync(Function<? super T,? extends U> fn) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.thenApplyAsync(Function<? super T,? extends U> fn,
Executor executor) |
<U,V> LazyResetableFuture<V> |
LazyResetableFuture.thenCombine(CompletionStage<? extends U> other,
BiFunction<? super T,? super U,? extends V> fn) |
<U,V> LazyResetableFuture<V> |
LazyResetableFuture.thenCombineAsync(CompletionStage<? extends U> other,
BiFunction<? super T,? super U,? extends V> fn) |
<U,V> LazyResetableFuture<V> |
LazyResetableFuture.thenCombineAsync(CompletionStage<? extends U> other,
BiFunction<? super T,? super U,? extends V> fn,
Executor executor) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.thenCompose(Function<? super T,? extends CompletionStage<U>> fn) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn) |
<U> LazyResetableFuture<U> |
LazyResetableFuture.thenComposeAsync(Function<? super T,? extends CompletionStage<U>> fn,
Executor executor) |
LazyResetableFuture<Void> |
LazyResetableFuture.thenRun(Runnable action) |
LazyResetableFuture<Void> |
LazyResetableFuture.thenRunAsync(Runnable action) |
LazyResetableFuture<Void> |
LazyResetableFuture.thenRunAsync(Runnable action,
Executor executor) |
LazyResetableFuture<T> |
LazyResetableFuture.whenComplete(BiConsumer<? super T,? super Throwable> action) |
LazyResetableFuture<T> |
LazyResetableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action) |
LazyResetableFuture<T> |
LazyResetableFuture.whenCompleteAsync(BiConsumer<? super T,? super Throwable> action,
Executor executor) |
Copyright © 2019. All rights reserved.