Package at.petrak.hexcasting.api.misc
Class Result<T,E>
java.lang.Object
at.petrak.hexcasting.api.misc.Result<T,E>
- Direct Known Subclasses:
Result.Err,Result.Ok
I'm sick and tired of not having a result class god dammit
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Result
public Result()
-
-
Method Details
-
isOk
public boolean isOk() -
isErr
public boolean isErr() -
unwrap
-
unwrapErr
-
match
-
matchVoid
-
collapse
-