Skip navigation links
A C D F G I L M O S T U 

A

apply() - Method in interface com.github.charithe.fjp.Try.FunctionThrowingException
 

C

CallingFailureOnSuccessValue() - Constructor for exception com.github.charithe.fjp.Try.CallingFailureOnSuccessValue
 
CallingSuccessOnFailureValue() - Constructor for exception com.github.charithe.fjp.Try.CallingSuccessOnFailureValue
 
com.github.charithe.fjp - package com.github.charithe.fjp
 

D

doApply() - Method in interface com.github.charithe.fjp.Try.FunctionThrowingException
 
doTry(Try.FunctionThrowingException<A>) - Static method in class com.github.charithe.fjp.Try
Create a Try object from a function that could potentially throw an exception and fail.

F

failure() - Method in class com.github.charithe.fjp.Try
Returns the failure value if this is a failure.
filter(Predicate<T>) - Method in class com.github.charithe.fjp.Try
Apply the predicate to the success value to determine whether this should really be a failure
flatMap(Function<T, Try<A>>) - Method in class com.github.charithe.fjp.Try
Perform a flatmap over this instance
foreach(Consumer<T>) - Method in class com.github.charithe.fjp.Try
Apply the supplied function to the success value if this is a success
fromFailure(Throwable) - Static method in class com.github.charithe.fjp.Try
Create a failure instance of Try
fromSuccess(A) - Static method in class com.github.charithe.fjp.Try
Create a success instance of Try

G

get() - Method in class com.github.charithe.fjp.Try
Return the success value if this is a success or throw the failure value if this is a failure
getOrElse(T) - Method in class com.github.charithe.fjp.Try
Return the success value or the supplied default if this is a failure instance

I

isFailure() - Method in class com.github.charithe.fjp.Try
Returns true if this instance holds a failure value
isSuccess() - Method in class com.github.charithe.fjp.Try
Returns true if this instance holds a success value

L

LambdaException(Throwable) - Constructor for exception com.github.charithe.fjp.Try.LambdaException
 

M

map(Function<T, A>) - Method in class com.github.charithe.fjp.Try
Perform a map over this instance

O

orElse(Try<T>) - Method in class com.github.charithe.fjp.Try
Return this instance if it is a success instance.

S

success() - Method in class com.github.charithe.fjp.Try
Returns the success value if this is a success.

T

toOptional() - Method in class com.github.charithe.fjp.Try
Convert this to an Optional
Try<T> - Class in com.github.charithe.fjp
Emulates the Scala Try interface
Try.CallingFailureOnSuccessValue - Exception in com.github.charithe.fjp
 
Try.CallingSuccessOnFailureValue - Exception in com.github.charithe.fjp
 
Try.FunctionThrowingException<A> - Interface in com.github.charithe.fjp
 
Try.LambdaException - Exception in com.github.charithe.fjp
 
Try.UnmatchedFilterPredicate - Exception in com.github.charithe.fjp
 

U

UnmatchedFilterPredicate() - Constructor for exception com.github.charithe.fjp.Try.UnmatchedFilterPredicate
 
A C D F G I L M O S T U 
Skip navigation links

Copyright © 2015. All rights reserved.