Uses of Class
pro.horde.os.cutils.value.Try
-
Packages that use Try Package Description pro.horde.os.cutils.value -
-
Uses of Try in pro.horde.os.cutils.value
Methods in pro.horde.os.cutils.value that return Try Modifier and Type Method Description Try<T>Pause.Run.Delay. get()This gets theTryoperation result.abstract <M> Try<M>Try. map(Function<? super T,? extends M> mapper)If a try operation return a result, apply the provided mapping function to it, and return and instance ofTrywith the applied result.static <T> Try<T>Try. of(Dealer<? extends T> operation)Accepts aDealertype function which is expected to return a result if operation was successful.static <T> Try<T>Try. of(Executable operation)Accepts aExecutabletype function with no result expected if operation is successful.Method parameters in pro.horde.os.cutils.value with type arguments of type Try Modifier and Type Method Description voidPause.Run.Delay. onComplete(Consumer<Try<T>> tryResult)Takes a consumer that consumes theTryoperation results.
-