Index

E G H I M O R S T V 
All Classes and Interfaces|All Packages|Serialized Form

E

equals(Object) - Method in record class sk.softec.util.Try.Er
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class sk.softec.util.Try.Ok
Indicates whether some other object is "equal to" this one.
Er(E) - Constructor for record class sk.softec.util.Try.Er
Creates an instance of a Er record class.
error() - Method in interface sk.softec.util.Try
 
Ers() - Constructor for class sk.softec.util.Try.Ers
 

G

getOrElse(R) - Method in interface sk.softec.util.Try
 
getOrElseGet(Supplier<R>) - Method in interface sk.softec.util.Try
 
getOrElseNull() - Method in interface sk.softec.util.Try
 
getOrThrow() - Method in interface sk.softec.util.Try
 
getOrThrow(Function<? super E, ? extends ER>) - Method in interface sk.softec.util.Try
 

H

hashCode() - Method in record class sk.softec.util.Try.Er
Returns a hash code value for this object.
hashCode() - Method in record class sk.softec.util.Try.Ok
Returns a hash code value for this object.

I

ifAny(Runnable) - Method in interface sk.softec.util.Try
Invokes the specified block and returns this
ifError(Consumer<E>) - Method in interface sk.softec.util.Try
Invokes the specified block if this Try is Try.Er and returns this
ifSuccess(Consumer<R>) - Method in interface sk.softec.util.Try
Invokes the specified block if this Try is Try.Ok and returns this
isEr() - Method in interface sk.softec.util.Try
 
isOk() - Method in interface sk.softec.util.Try
 

M

map(Function<R, R2>) - Method in interface sk.softec.util.Try
 
mapError(Function<E, E2>) - Method in interface sk.softec.util.Try
 

O

Ok(R) - Constructor for record class sk.softec.util.Try.Ok
Creates an instance of a Ok record class.
Oks() - Constructor for class sk.softec.util.Try.Oks
 

R

result() - Method in interface sk.softec.util.Try
 
runTry(ThrowingRunnable) - Static method in interface sk.softec.util.Try
Invokes block and returns any Throwable as Try.Er or null as Try.Ok.
runTry(ThrowingSupplier<T>) - Static method in interface sk.softec.util.Try
Invokes block and returns any Throwable as Try.Er or result as Try.Ok.

S

sk.softec.util - package sk.softec.util
 

T

toFlatTry(List<? extends Try<R, E>>) - Static method in interface sk.softec.util.Try
 
toString() - Method in record class sk.softec.util.Try.Er
Returns a string representation of this record class.
toString() - Method in record class sk.softec.util.Try.Ok
Returns a string representation of this record class.
Tries() - Constructor for class sk.softec.util.Try.Tries
 
Try<R,E> - Interface in sk.softec.util
Try.
Try.Er<R,E> - Record Class in sk.softec.util
A Try that is error
Try.Ers<E> - Class in sk.softec.util
Alias for list of Try.Er values
Try.Ok<R,E> - Record Class in sk.softec.util
A Try that is success
Try.Oks<R> - Class in sk.softec.util
Alias for list of Try.Ok values
Try.Tries<R,E> - Class in sk.softec.util
Alias for list of Try values

V

value() - Method in record class sk.softec.util.Try.Er
Returns the value of the value record component.
value() - Method in record class sk.softec.util.Try.Ok
Returns the value of the value record component.
E G H I M O R S T V 
All Classes and Interfaces|All Packages|Serialized Form