Skip navigation links
A C F G I M O R S T U V W 

A

accept(V) - Method in interface org.jooby.funzy.Throwing.Consumer
 
accept(V1, V2) - Method in interface org.jooby.funzy.Throwing.Consumer2
 
accept(V1, V2, V3) - Method in interface org.jooby.funzy.Throwing.Consumer3
 
accept(V1, V2, V3, V4) - Method in interface org.jooby.funzy.Throwing.Consumer4
 
accept(V1, V2, V3, V4, V5) - Method in interface org.jooby.funzy.Throwing.Consumer5
 
accept(V1, V2, V3, V4, V5, V6) - Method in interface org.jooby.funzy.Throwing.Consumer6
Performs this operation on the given arguments and throw any exception using Throwing.sneakyThrow(Throwable) method.
accept(V1, V2, V3, V4, V5, V6, V7) - Method in interface org.jooby.funzy.Throwing.Consumer7
Performs this operation on the given arguments and throw any exception using Throwing.sneakyThrow(Throwable) method.
accept(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface org.jooby.funzy.Throwing.Consumer8
Performs this operation on the given arguments and throw any exception using Throwing.sneakyThrow(Throwable) method.
apply(V) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function to the given argument and produces a result.
apply(V1, V2) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function to the given argument and produces a result.
apply(V1, V2, V3) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4, V5) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4, V5, V6) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4, V5, V6, V7) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function to the given argument and produces a result.
apply(Throwing.Supplier<? extends V>) - Static method in class org.jooby.funzy.Try
Creates a new try from given value provider.
apply(Throwing.Function<R, V>) - Method in class org.jooby.funzy.Try.ResourceHandler
Apply the resource and produces an output.
apply(Throwing.Function2<R1, R2, V>) - Method in class org.jooby.funzy.Try.ResourceHandler2
 
apply(Throwing.Function3<R1, R2, R3, V>) - Method in class org.jooby.funzy.Try.ResourceHandler3
 
apply(Throwing.Function4<R1, R2, R3, R4, V>) - Method in class org.jooby.funzy.Try.ResourceHandler4
 

C

call(Callable<? extends V>) - Static method in class org.jooby.funzy.Try
Creates a new try from given callable.

F

failure(Throwable) - Static method in class org.jooby.funzy.Try
Get a new failure value.
flatMap(Throwing.Function<V, Try.Value<T>>) - Method in class org.jooby.funzy.Try.Value
Flat map the success value.

G

get() - Method in interface org.jooby.funzy.Throwing.Supplier
 
get() - Method in class org.jooby.funzy.Try.Value
Gets the success result or Throwing.sneakyThrow(Throwable) the exception.
get() - Method in class org.jooby.funzy.When.Value
 
getCause() - Method in class org.jooby.funzy.Try
Cause for failure or empty optional for success result.

I

is(V, R) - Method in class org.jooby.funzy.When
 
is(Class<T>, R) - Method in class org.jooby.funzy.When
 
is(V, Throwing.Supplier<R>) - Method in class org.jooby.funzy.When
 
is(Class<T>, Throwing.Function<T, R>) - Method in class org.jooby.funzy.When
 
is(Throwing.Predicate<T>, Throwing.Supplier<R>) - Method in class org.jooby.funzy.When
 
is(Throwing.Predicate<T>, Throwing.Function<T, R>) - Method in class org.jooby.funzy.When
 
is(V, R) - Method in class org.jooby.funzy.When.Value
 
is(Class<T>, R) - Method in class org.jooby.funzy.When.Value
 
is(V, Throwing.Supplier<R>) - Method in class org.jooby.funzy.When.Value
 
is(Class<T>, Throwing.Function<T, R>) - Method in class org.jooby.funzy.When.Value
 
is(Throwing.Predicate<T>, Throwing.Supplier<R>) - Method in class org.jooby.funzy.When.Value
 
is(Throwing.Predicate<T>, Throwing.Function<T, R>) - Method in class org.jooby.funzy.When.Value
 
isFailure() - Method in class org.jooby.funzy.Try
True in case of failure.
isFatal(Throwable) - Static method in class org.jooby.funzy.Throwing
True if the given exception is one of InterruptedException, LinkageError, ThreadDeath, VirtualMachineError.
isSuccess() - Method in class org.jooby.funzy.Try
True in case of success.

M

map(Throwing.Function<R, V>) - Method in class org.jooby.funzy.Try.ResourceHandler
Map the resource to a new closeable resource.
map(Throwing.Function<V, T>) - Method in class org.jooby.funzy.Try.Value
Map the success value.
memoized() - Method in interface org.jooby.funzy.Throwing.Function
A function that remember/cache previous executions.
memoized() - Method in interface org.jooby.funzy.Throwing.Function2
A function that remember/cache previous executions.
memoized() - Method in interface org.jooby.funzy.Throwing.Function3
A function that remember/cache previous executions.
memoized() - Method in interface org.jooby.funzy.Throwing.Function4
A function that remember/cache previous executions.
memoized() - Method in interface org.jooby.funzy.Throwing.Function5
A function that remember/cache previous executions.
memoized() - Method in interface org.jooby.funzy.Throwing.Function6
A function that remember/cache previous executions.
memoized() - Method in interface org.jooby.funzy.Throwing.Function7
A function that remember/cache previous executions.
memoized() - Method in interface org.jooby.funzy.Throwing.Function8
A function that remember/cache previous executions.

O

of(R) - Static method in class org.jooby.funzy.Try
Functional try-with-resources:
of(R1, R2) - Static method in class org.jooby.funzy.Try
Functional try-with-resources:
of(R1, R2, R3) - Static method in class org.jooby.funzy.Try
Functional try-with-resources with 3 inputs.
of(R1, R2, R3, R4) - Static method in class org.jooby.funzy.Try
Functional try-with-resources with 4 inputs.
onComplete(Throwing.Runnable) - Method in class org.jooby.funzy.Try
Always run the given action, works like a finally clause.
onComplete(Throwing.Consumer<Throwable>) - Method in class org.jooby.funzy.Try
Always run the given action, works like a finally clause.
onComplete(Throwing.Runnable) - Method in class org.jooby.funzy.Try.Value
Always run the given action, works like a finally clause.
onComplete(Throwing.Consumer<Throwable>) - Method in class org.jooby.funzy.Try.Value
 
onComplete(Throwing.Consumer2<V, Throwable>) - Method in class org.jooby.funzy.Try.Value
Always run the given action, works like a finally clause.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Consumer
Execute the given action before throwing the exception.
onFailure(Class<? extends X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Consumer
Execute the given action before throwing the exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Consumer2
Execute the given action before throwing the exception.
onFailure(Class<? extends X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Consumer2
Execute the given action before throwing the exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Consumer3
Execute the given action before throwing the exception.
onFailure(Class<? extends X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Consumer3
Execute the given action before throwing the exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Consumer4
Execute the given action before throwing the exception.
onFailure(Class<? extends X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Consumer4
Execute the given action before throwing the exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Consumer5
Execute the given action before throwing the exception.
onFailure(Class<? extends X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Consumer5
Execute the given action before throwing the exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Consumer6
Execute the given action before throwing the exception.
onFailure(Class<? extends X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Consumer6
Execute the given action before throwing the exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Consumer7
Execute the given action before throwing the exception.
onFailure(Class<? extends X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Consumer7
Execute the given action before throwing the exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Consumer8
Execute the given action before throwing the exception.
onFailure(Class<? extends X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Consumer8
Execute the given action before throwing the exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function and run the given action in case of exception.
onFailure(Class<X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function and run the given action in case of exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function and run the given action in case of exception.
onFailure(Class<X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function and run the given action in case of exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function and run the given action in case of exception.
onFailure(Class<X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function and run the given action in case of exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function and run the given action in case of exception.
onFailure(Class<X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function and run the given action in case of exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function and run the given action in case of exception.
onFailure(Class<X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function and run the given action in case of exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function and run the given action in case of exception.
onFailure(Class<X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function and run the given action in case of exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function and run the given action in case of exception.
onFailure(Class<X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function and run the given action in case of exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function and run the given action in case of exception.
onFailure(Class<X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function and run the given action in case of exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Runnable
Execute the given action before throwing the exception.
onFailure(Class<? extends X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Runnable
Execute the given action before throwing the exception.
onFailure(Consumer<Throwable>) - Method in interface org.jooby.funzy.Throwing.Supplier
Apply this function and run the given action in case of exception.
onFailure(Class<X>, Consumer<X>) - Method in interface org.jooby.funzy.Throwing.Supplier
Apply this function and run the given action in case of exception.
onFailure(Consumer<? super Throwable>) - Method in class org.jooby.funzy.Try
Run the given action if and only if this is a failure.
onFailure(Consumer<? super Throwable>) - Method in class org.jooby.funzy.Try.Value
Run the given action if and only if this is a failure.
onSuccess(Runnable) - Method in class org.jooby.funzy.Try
Run the given action if and only if this is a success.
onSuccess(Runnable) - Method in class org.jooby.funzy.Try.Value
Run the given action if and only if this is a success.
onSuccess(Consumer<V>) - Method in class org.jooby.funzy.Try.Value
Run the given action if and only if this is a success.
orElse(R) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function and returns the given default value in case of exception.
orElse(Throwing.Supplier<R>) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function and returns the given default value in case of exception.
orElse(R) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function and returns the given default value in case of exception.
orElse(Throwing.Supplier<R>) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function and returns the given default value in case of exception.
orElse(R) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function and returns the given default value in case of exception.
orElse(Throwing.Supplier<R>) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function and returns the given default value in case of exception.
orElse(R) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function and returns the given default value in case of exception.
orElse(Throwing.Supplier<R>) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function and returns the given default value in case of exception.
orElse(R) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function and returns the given default value in case of exception.
orElse(Throwing.Supplier<R>) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function and returns the given default value in case of exception.
orElse(R) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function and returns the given default value in case of exception.
orElse(Throwing.Supplier<R>) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function and returns the given default value in case of exception.
orElse(R) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function and returns the given default value in case of exception.
orElse(Throwing.Supplier<R>) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function and returns the given default value in case of exception.
orElse(R) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function and returns the given default value in case of exception.
orElse(Throwing.Supplier<R>) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function and returns the given default value in case of exception.
orElse(V) - Method in interface org.jooby.funzy.Throwing.Supplier
Apply this function and returns the given default value in case of exception.
orElse(Throwing.Supplier<V>) - Method in interface org.jooby.funzy.Throwing.Supplier
Apply this function and returns the given default value in case of exception.
orElse(V) - Method in class org.jooby.funzy.Try.Value
Get the success value or use the given default value on failure.
orElse(R) - Method in class org.jooby.funzy.When.Value
 
orElseGet(Supplier<V>) - Method in class org.jooby.funzy.Try.Value
Get the success value or use the given function on failure.
orElseGet(Throwing.Supplier<R>) - Method in class org.jooby.funzy.When.Value
 
orElseThrow(Throwing.Function<Throwable, Throwable>) - Method in class org.jooby.funzy.Try.Value
Get the success value or throw an exception created by the exception provider.
orElseThrow(Throwing.Supplier<Throwable>) - Method in class org.jooby.funzy.When.Value
 
org.jooby.funzy - package org.jooby.funzy
 

R

recover(Function<Throwable, R>) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function or recover from it in case of exception.
recover(Class<? extends X>, Function<X, R>) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function or recover from a specific exception in case of exception.
recover(Function<Throwable, R>) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function or recover from it in case of exception.
recover(Class<? extends X>, Function<X, R>) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function or recover from a specific exception in case of exception.
recover(Function<Throwable, R>) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function or recover from it in case of exception.
recover(Class<? extends X>, Function<X, R>) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function or recover from a specific exception in case of exception.
recover(Function<Throwable, R>) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function or recover from it in case of exception.
recover(Class<? extends X>, Function<X, R>) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function or recover from a specific exception in case of exception.
recover(Function<Throwable, R>) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function or recover from it in case of exception.
recover(Class<? extends X>, Function<X, R>) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function or recover from a specific exception in case of exception.
recover(Function<Throwable, R>) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function or recover from it in case of exception.
recover(Class<? extends X>, Function<X, R>) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function or recover from a specific exception in case of exception.
recover(Function<Throwable, R>) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function or recover from it in case of exception.
recover(Class<? extends X>, Function<X, R>) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function or recover from a specific exception in case of exception.
recover(Function<Throwable, R>) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function or recover from it in case of exception.
recover(Class<? extends X>, Function<X, R>) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function or recover from a specific exception in case of exception.
recover(Function<Throwable, V>) - Method in interface org.jooby.funzy.Throwing.Supplier
Apply this function or recover from it in case of exception.
recover(Class<? extends X>, Function<X, V>) - Method in interface org.jooby.funzy.Throwing.Supplier
Apply this function or recover from a specific exception in case of exception.
recover(Throwing.Function<Throwable, V>) - Method in class org.jooby.funzy.Try.Value
Recover from failure.
recover(Class<X>, V) - Method in class org.jooby.funzy.Try.Value
Recover from failure if and only if the exception is a subclass of the given exception filter.
recover(Class<X>, Throwing.Function<X, V>) - Method in class org.jooby.funzy.Try.Value
Recover from failure if and only if the exception is a subclass of the given exception filter.
recoverWith(Throwing.Function<Throwable, Try.Value<V>>) - Method in class org.jooby.funzy.Try.Value
Recover from failure.
recoverWith(Class<X>, Throwing.Function<X, Try.Value<V>>) - Method in class org.jooby.funzy.Try.Value
Recover from failure if and only if the exception is a subclass of the given exception filter.
run() - Method in interface org.jooby.funzy.Throwing.Runnable
 
run(Throwing.Consumer<R>) - Method in class org.jooby.funzy.Try.ResourceHandler
Run an operation over the resource.
run(Throwing.Consumer2<R1, R2>) - Method in class org.jooby.funzy.Try.ResourceHandler2
 
run(Throwing.Consumer3<R1, R2, R3>) - Method in class org.jooby.funzy.Try.ResourceHandler3
 
run(Throwing.Consumer4<R1, R2, R3, R4>) - Method in class org.jooby.funzy.Try.ResourceHandler4
 
run(Throwing.Runnable) - Static method in class org.jooby.funzy.Try
Creates a side effect try from given runnable.

S

singleton() - Method in interface org.jooby.funzy.Throwing.Supplier
Singleton version of this supplier.
sneakyThrow(Throwable) - Static method in class org.jooby.funzy.Throwing
Throws any throwable 'sneakily' - you don't need to catch it, nor declare that you throw it onwards.
success(V) - Static method in class org.jooby.funzy.Try
Get a new success value.

T

test(V) - Method in interface org.jooby.funzy.Throwing.Predicate
 
test(V1, V2) - Method in interface org.jooby.funzy.Throwing.Predicate2
 
throwException() - Method in class org.jooby.funzy.Try
Propagate/throw the exception in case of failure.
Throwing - Class in org.jooby.funzy
Collection of throwable interfaces to simplify exception handling, specially on lambdas.
Throwing() - Constructor for class org.jooby.funzy.Throwing
 
Throwing.Consumer<V> - Interface in org.jooby.funzy
Throwable version of Consumer.
Throwing.Consumer2<V1,V2> - Interface in org.jooby.funzy
Two argument version of Throwing.Consumer.
Throwing.Consumer3<V1,V2,V3> - Interface in org.jooby.funzy
Three argument version of Throwing.Consumer.
Throwing.Consumer4<V1,V2,V3,V4> - Interface in org.jooby.funzy
Four argument version of Throwing.Consumer.
Throwing.Consumer5<V1,V2,V3,V4,V5> - Interface in org.jooby.funzy
Five argument version of Throwing.Consumer.
Throwing.Consumer6<V1,V2,V3,V4,V5,V6> - Interface in org.jooby.funzy
Six argument version of Throwing.Consumer.
Throwing.Consumer7<V1,V2,V3,V4,V5,V6,V7> - Interface in org.jooby.funzy
Seven argument version of Throwing.Consumer.
Throwing.Consumer8<V1,V2,V3,V4,V5,V6,V7,V8> - Interface in org.jooby.funzy
Seven argument version of Throwing.Consumer.
Throwing.Function<V,R> - Interface in org.jooby.funzy
Throwable version of Function.
Throwing.Function2<V1,V2,R> - Interface in org.jooby.funzy
Throwable version of BiFunction.
Throwing.Function3<V1,V2,V3,R> - Interface in org.jooby.funzy
Function with three arguments.
Throwing.Function4<V1,V2,V3,V4,R> - Interface in org.jooby.funzy
Function with four arguments.
Throwing.Function5<V1,V2,V3,V4,V5,R> - Interface in org.jooby.funzy
Function with five arguments.
Throwing.Function6<V1,V2,V3,V4,V5,V6,R> - Interface in org.jooby.funzy
Function with six arguments.
Throwing.Function7<V1,V2,V3,V4,V5,V6,V7,R> - Interface in org.jooby.funzy
Function with seven arguments.
Throwing.Function8<V1,V2,V3,V4,V5,V6,V7,V8,R> - Interface in org.jooby.funzy
Function with seven arguments.
Throwing.Predicate<V> - Interface in org.jooby.funzy
Throwable version of Throwing.Predicate.
Throwing.Predicate2<V1,V2> - Interface in org.jooby.funzy
Throwable version of Throwing.Predicate.
Throwing.Runnable - Interface in org.jooby.funzy
Throwable version of Runnable.
Throwing.Supplier<V> - Interface in org.jooby.funzy
Throwable version of Supplier.
throwingConsumer(Throwing.Consumer<V>) - Static method in class org.jooby.funzy.Throwing
 
throwingConsumer(Throwing.Consumer2<V1, V2>) - Static method in class org.jooby.funzy.Throwing
 
throwingConsumer(Throwing.Consumer3<V1, V2, V3>) - Static method in class org.jooby.funzy.Throwing
 
throwingConsumer(Throwing.Consumer4<V1, V2, V3, V4>) - Static method in class org.jooby.funzy.Throwing
 
throwingConsumer(Throwing.Consumer5<V1, V2, V3, V4, V5>) - Static method in class org.jooby.funzy.Throwing
 
throwingConsumer(Throwing.Consumer6<V1, V2, V3, V4, V5, V6>) - Static method in class org.jooby.funzy.Throwing
 
throwingConsumer(Throwing.Consumer7<V1, V2, V3, V4, V5, V6, V7>) - Static method in class org.jooby.funzy.Throwing
 
throwingConsumer(Throwing.Consumer8<V1, V2, V3, V4, V5, V6, V7, V8>) - Static method in class org.jooby.funzy.Throwing
 
throwingFunction(Throwing.Function<V, R>) - Static method in class org.jooby.funzy.Throwing
Factory method for Throwing.Function and Function.
throwingFunction(Throwing.Function2<V1, V2, R>) - Static method in class org.jooby.funzy.Throwing
Factory method for Throwing.Function2 and BiFunction.
throwingFunction(Throwing.Function3<V1, V2, V3, R>) - Static method in class org.jooby.funzy.Throwing
 
throwingFunction(Throwing.Function4<V1, V2, V3, V4, R>) - Static method in class org.jooby.funzy.Throwing
 
throwingFunction(Throwing.Function5<V1, V2, V3, V4, V5, R>) - Static method in class org.jooby.funzy.Throwing
 
throwingFunction(Throwing.Function6<V1, V2, V3, V4, V5, V6, R>) - Static method in class org.jooby.funzy.Throwing
 
throwingFunction(Throwing.Function7<V1, V2, V3, V4, V5, V6, V7, R>) - Static method in class org.jooby.funzy.Throwing
 
throwingFunction(Throwing.Function8<V1, V2, V3, V4, V5, V6, V7, V8, R>) - Static method in class org.jooby.funzy.Throwing
 
throwingPredicate(Throwing.Predicate<V>) - Static method in class org.jooby.funzy.Throwing
 
throwingPredicate(Throwing.Predicate2<V1, V2>) - Static method in class org.jooby.funzy.Throwing
 
throwingRunnable(Throwing.Runnable) - Static method in class org.jooby.funzy.Throwing
Factory method for Runnable.
throwingSupplier(Throwing.Supplier<V>) - Static method in class org.jooby.funzy.Throwing
Factory method for Throwing.Supplier.
toOptional() - Method in class org.jooby.funzy.Try.Value
Get an empty optional in case of failure.
toOptional() - Method in class org.jooby.funzy.When.Value
 
Try - Class in org.jooby.funzy
Functional try and try-with-resources implementation.
Try() - Constructor for class org.jooby.funzy.Try
 
Try.ResourceHandler<R extends AutoCloseable> - Class in org.jooby.funzy
Try with resource implementation.
Try.ResourceHandler2<R1 extends AutoCloseable,R2 extends AutoCloseable> - Class in org.jooby.funzy
Try with resource implementation.
Try.ResourceHandler3<R1 extends AutoCloseable,R2 extends AutoCloseable,R3 extends AutoCloseable> - Class in org.jooby.funzy
 
Try.ResourceHandler4<R1 extends AutoCloseable,R2 extends AutoCloseable,R3 extends AutoCloseable,R4 extends AutoCloseable> - Class in org.jooby.funzy
 
Try.Value<V> - Class in org.jooby.funzy
Try with a value.
tryAccept(V) - Method in interface org.jooby.funzy.Throwing.Consumer
Performs this operation on the given argument.
tryAccept(V1, V2) - Method in interface org.jooby.funzy.Throwing.Consumer2
Performs this operation on the given argument.
tryAccept(V1, V2, V3) - Method in interface org.jooby.funzy.Throwing.Consumer3
Performs this operation on the given argument.
tryAccept(V1, V2, V3, V4) - Method in interface org.jooby.funzy.Throwing.Consumer4
Performs this operation on the given arguments.
tryAccept(V1, V2, V3, V4, V5) - Method in interface org.jooby.funzy.Throwing.Consumer5
Performs this operation on the given arguments.
tryAccept(V1, V2, V3, V4, V5, V6) - Method in interface org.jooby.funzy.Throwing.Consumer6
Performs this operation on the given arguments.
tryAccept(V1, V2, V3, V4, V5, V6, V7) - Method in interface org.jooby.funzy.Throwing.Consumer7
Performs this operation on the given arguments.
tryAccept(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface org.jooby.funzy.Throwing.Consumer8
Performs this operation on the given arguments.
tryApply(V) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function to the given argument and produces a result.
tryApply(V1, V2) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4, V5) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4, V5, V6) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4, V5, V6, V7) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function to the given argument and produces a result.
tryGet() - Method in interface org.jooby.funzy.Throwing.Supplier
 
tryRun() - Method in interface org.jooby.funzy.Throwing.Runnable
 
tryTest(V) - Method in interface org.jooby.funzy.Throwing.Predicate
 
tryTest(V1, V2) - Method in interface org.jooby.funzy.Throwing.Predicate2
 

U

unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Consumer
Unwrap an exception and rethrow.
unwrap(Class<X>) - Method in interface org.jooby.funzy.Throwing.Consumer2
Unwrap an exception and rethrow.
unwrap(Class<X>) - Method in interface org.jooby.funzy.Throwing.Consumer3
Unwrap an exception and rethrow.
unwrap(Class<X>) - Method in interface org.jooby.funzy.Throwing.Consumer4
Unwrap an exception and rethrow.
unwrap(Class<X>) - Method in interface org.jooby.funzy.Throwing.Consumer5
Unwrap an exception and rethrow.
unwrap(Class<X>) - Method in interface org.jooby.funzy.Throwing.Consumer6
Unwrap an exception and rethrow.
unwrap(Class<X>) - Method in interface org.jooby.funzy.Throwing.Consumer7
Unwrap an exception and rethrow.
unwrap(Class<X>) - Method in interface org.jooby.funzy.Throwing.Consumer8
Unwrap an exception and rethrow.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function and unwrap any resulting exception.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function and unwrap any resulting exception.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function and unwrap any resulting exception.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function and unwrap any resulting exception.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function and unwrap any resulting exception.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function and unwrap any resulting exception.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function and unwrap any resulting exception.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function and unwrap any resulting exception.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Runnable
Unwrap an exception and rethrow.
unwrap(Class<? extends X>) - Method in interface org.jooby.funzy.Throwing.Supplier
Apply this function and unwrap any resulting exception.
unwrap(Class<? extends X>) - Method in class org.jooby.funzy.Try
In case of failure unwrap the exception provided by calling Throwable.getCause().
unwrap(Throwing.Predicate<Throwable>) - Method in class org.jooby.funzy.Try
In case of failure unwrap the exception provided by calling Throwable.getCause().
unwrap(Class<? extends X>) - Method in class org.jooby.funzy.Try.Value
 
unwrap(Throwing.Predicate<Throwable>) - Method in class org.jooby.funzy.Try.Value
 

V

Value() - Constructor for class org.jooby.funzy.Try.Value
 

W

When<V> - Class in org.jooby.funzy
Functional idiom for switch/case statement.
When(V) - Constructor for class org.jooby.funzy.When
 
when(V) - Static method in class org.jooby.funzy.When
 
When.Value<V,R> - Class in org.jooby.funzy
 
with(Throwing.Supplier<R>) - Static method in class org.jooby.funzy.Try
Functional try-with-resources:
with(Throwing.Supplier<R1>, Throwing.Supplier<R2>) - Static method in class org.jooby.funzy.Try
Functional try-with-resources:
with(Throwing.Supplier<R1>, Throwing.Supplier<R2>, Throwing.Supplier<R3>) - Static method in class org.jooby.funzy.Try
Functional try-with-resources with 3 inputs.
with(Throwing.Supplier<R1>, Throwing.Supplier<R2>, Throwing.Supplier<R3>, Throwing.Supplier<R4>) - Static method in class org.jooby.funzy.Try
Functional try-with-resources with 4 inputs.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Consumer
Wrap an exception as new exception provided by the given wrap function.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Consumer2
Wrap an exception as new exception provided by the given wrap function.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Consumer3
Wrap an exception as new exception provided by the given wrap function.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Consumer4
Wrap an exception as new exception provided by the given wrap function.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Consumer5
Wrap an exception as new exception provided by the given wrap function.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Consumer6
Wrap an exception as new exception provided by the given wrap function.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Consumer7
Wrap an exception as new exception provided by the given wrap function.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Consumer8
Wrap an exception as new exception provided by the given wrap function.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Function
Apply this function and wrap any resulting exception.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Function2
Apply this function and wrap any resulting exception.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Function3
Apply this function and wrap any resulting exception.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Function4
Apply this function and wrap any resulting exception.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Function5
Apply this function and wrap any resulting exception.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Function6
Apply this function and wrap any resulting exception.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Function7
Apply this function and wrap any resulting exception.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Function8
Apply this function and wrap any resulting exception.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Runnable
Wrap an exception as new exception provided by the given wrap function.
wrap(Function<Throwable, Exception>) - Method in interface org.jooby.funzy.Throwing.Supplier
Apply this function and wrap any resulting exception.
wrap(Throwing.Function<Throwable, Throwable>) - Method in class org.jooby.funzy.Try.Value
 
wrap(Class<? extends X>, Throwing.Function<X, Throwable>) - Method in class org.jooby.funzy.Try.Value
 
wrap(Throwing.Predicate<X>, Throwing.Function<X, Throwable>) - Method in class org.jooby.funzy.Try.Value
 
wrap(Throwing.Function<Throwable, Throwable>) - Method in class org.jooby.funzy.Try
In case of failure wrap an exception matching the given predicate to something else.
wrap(Class<? extends X>, Throwing.Function<X, Throwable>) - Method in class org.jooby.funzy.Try
In case of failure wrap an exception matching the given predicate to something else.
wrap(Throwing.Predicate<X>, Throwing.Function<X, Throwable>) - Method in class org.jooby.funzy.Try
In case of failure wrap an exception matching the given predicate to something else.
A C F G I M O R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.