Package aQute.bnd.result
@Version("2.0.0")
package aQute.bnd.result
-
ClassDescriptionErr<V>This class represents the Err side of @{link Result}.Ok<V>This class represents the Ok side of @{link Result}.Result<V>The Result type is an alternative way of chaining together functions in a functional programming style while hiding away error handling structures such as try-catch-blocks and conditionals.
Instead of adding a throws declaration to a function, the return type of the function is instead set to Resultwhere V is the original return type, i.e.