Skip navigation links
A B C D E F G H I L M N O P R S T U V W Z 

O

of(B) - Static method in class com.github.javactic.Bad
Creates a Bad of type B.
of(T, T...) - Static method in interface com.github.javactic.Every
 
of(T, Seq<? extends T>) - Static method in interface com.github.javactic.Every
 
of(T) - Static method in class com.github.javactic.Fail
 
of(Executor, Function<? super Throwable, ? extends B>) - Static method in class com.github.javactic.futures.FutureFactory
Creates a new FutureFactory that will create futures that run their tasks using the given executor and transform unhandled exceptions into instances of Bad using the provided converter.
of(Function<? super Throwable, ? extends B>) - Static method in class com.github.javactic.futures.FutureFactory
Creates a new FutureFactory that will return futures that run their tasks using a common Executors.newCachedThreadPool() and transform unhandled exceptions into instances of Bad using the provided converter.
of(Executor, Supplier<? extends Or<? extends G, ? extends B>>) - Static method in interface com.github.javactic.futures.OrFuture
Creates an OrFuture that will execute the supplied task with the given executor.
of(Supplier<? extends Or<? extends G, ? extends B>>) - Static method in interface com.github.javactic.futures.OrFuture
Creates an OrFuture that will execute the supplied task with the common Executors.newCachedThreadPool().
of(G) - Static method in class com.github.javactic.Good
 
of(T, T, T...) - Static method in class com.github.javactic.Many
 
of(T) - Static method in class com.github.javactic.One
Creates a One.
OF_EXCEPTION_MESSAGE - Static variable in class com.github.javactic.futures.FutureFactory
A default FutureFactory that will execute its tasks with the common Executors.newCachedThreadPool() and that will transform any potential exceptions into Strings using Throwable.getMessage()
ofBad(B) - Static method in interface com.github.javactic.futures.OrFuture
Creates an OrFuture that is already completed with a Bad.
ofGood(G) - Static method in interface com.github.javactic.futures.OrFuture
Creates an OrFuture that is already completed with a Good.
ofOne(B) - Static method in class com.github.javactic.Bad
Helper method to get a One wrapped in a Bad directly.
ofOneBad(B) - Static method in interface com.github.javactic.futures.OrFuture
Creates an OrFuture that is already completed with an accumulating Bad.
ofOneString(String, Object...) - Static method in class com.github.javactic.Bad
Creates a Bad with a failure type of One<String> based on the given message.
ofString(String, Object...) - Static method in class com.github.javactic.Bad
Creates a Bad with a failure type of String based on the given message.
ofString(String, Object...) - Static method in class com.github.javactic.Fail
 
ofString(String, Object...) - Static method in class com.github.javactic.One
Creates a One of String based on the given message.
onComplete(Consumer<? super Or<G, B>>) - Method in interface com.github.javactic.futures.OrFuture
Executes the given callback when this future completes.
One<T> - Class in com.github.javactic
An Every that contains exactly one element.
Or<G,B> - Interface in com.github.javactic
Represents a value that is one of two possible types, with one type being "success" and the other "failure." An Or will either be a "success" value wrapped in an instance of Good or a "failure" value wrapped in an instance of Bad.
orElse(Supplier<? extends Or<? extends G, ? extends B>>) - Method in class com.github.javactic.Bad
 
orElse(Or<? extends G, ? extends B>) - Method in class com.github.javactic.Bad
 
orElse(IntFunction<? extends T>) - Method in interface com.github.javactic.Every
Composes this partial function with a fallback partial function which gets applied where this partial function is not defined.
orElse(Supplier<? extends Or<? extends G, ? extends B>>) - Method in class com.github.javactic.Good
 
orElse(Or<? extends G, ? extends B>) - Method in class com.github.javactic.Good
 
orElse(Supplier<? extends Or<? extends G, ? extends B>>) - Method in interface com.github.javactic.Or
Returns this Or if it is a Good, otherwise returns the result of evaluating the passed alt.
orElse(Or<? extends G, ? extends B>) - Method in interface com.github.javactic.Or
Returns this Or if it is a Good, otherwise returns the passed alt.
OrFuture<G,B> - Interface in com.github.javactic.futures
The interface for disjunction futures.
OrPromise<G,B> - Interface in com.github.javactic.futures
A write-once wrapper that can complete an underlying OrFuture.
A B C D E F G H I L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2016. All rights reserved.