Uses of Interface
org.smallibs.data.Try
Packages that use Try
Package
Description
-
Uses of Try in org.smallibs.concurrent.execution
Methods in org.smallibs.concurrent.execution that return Try -
Uses of Try in org.smallibs.concurrent.promise
Method parameters in org.smallibs.concurrent.promise with type arguments of type TryModifier and TypeMethodDescriptionPromise.onComplete(java.util.function.Consumer<Try<T>> consumer) Callback called when the computation terminates -
Uses of Try in org.smallibs.concurrent.promise.impl
Methods in org.smallibs.concurrent.promise.impl with parameters of type TryModifier and TypeMethodDescriptionbooleanbooleanMethod parameters in org.smallibs.concurrent.promise.impl with type arguments of type TryModifier and TypeMethodDescriptionprotected SolvableFuture<T> RunnablePromise.createFuture(java.util.function.Consumer<Try<T>> callbackOnComplete) protected SolvableFuture<T> SolvablePromise.createFuture(java.util.function.Consumer<Try<T>> callbackOnComplete) SolvablePromise.onComplete(java.util.function.Consumer<Try<T>> consumer) Constructors in org.smallibs.concurrent.promise.impl with parameters of type TryConstructor parameters in org.smallibs.concurrent.promise.impl with type arguments of type TryModifierConstructorDescriptionSolvableFuture(java.util.function.Consumer<Try<T>> callbackOnComplete) -
Uses of Try in org.smallibs.data
Classes in org.smallibs.data that implement TryModifier and TypeClassDescriptionstatic final recordTry.Failure<T>Failure implementationstatic final recordTry.Success<T>Success implementationMethods in org.smallibs.data that return TryModifier and TypeMethodDescriptionstatic <T> Try<T> <B> Try<B> <B> Try<B> <B> Try<B> static <O> Try<O> Try.handle(SupplierWithError<O> supplier) default <B> Try<B> static <T> Try<T> Try.pure(T value) Try.self()static <T> Try<T> Try.success(T value) static <T> Try<T> Methods in org.smallibs.data that return types with arguments of type TryModifier and TypeMethodDescriptionMethods in org.smallibs.data with parameters of type TryMethod parameters in org.smallibs.data with type arguments of type Try -
Uses of Try in org.smallibs.util
Methods in org.smallibs.util that return types with arguments of type TryModifier and TypeMethodDescriptionstatic <T,R> java.util.function.Function <T, Try<R>> FunctionsHelper.toFunction(FunctionWithError<T, R> function)