Index
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
Errecord 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.Erand returns this - ifSuccess(Consumer<R>) - Method in interface sk.softec.util.Try
-
Invokes the specified block if this Try is
Try.Okand 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
Okrecord 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
- runTry(ThrowingSupplier<T>) - Static method in interface sk.softec.util.Try
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
Trythat is error - Try.Ers<E> - Class in sk.softec.util
-
Alias for list of
Try.Ervalues - Try.Ok<R,
E> - Record Class in sk.softec.util -
A
Trythat is success - Try.Oks<R> - Class in sk.softec.util
-
Alias for list of
Try.Okvalues - Try.Tries<R,
E> - Class in sk.softec.util -
Alias for list of
Tryvalues
V
- value() - Method in record class sk.softec.util.Try.Er
-
Returns the value of the
valuerecord component. - value() - Method in record class sk.softec.util.Try.Ok
-
Returns the value of the
valuerecord component.
All Classes and Interfaces|All Packages|Serialized Form