Package aQute.bnd.result


@Version("2.0.0") package aQute.bnd.result
  • Class
    Description
    Err<V>
    This class represents the Err side of @{link Result}.
    Ok<V>
    This class represents the Ok side of @{link Result}.
    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 Result where V is the original return type, i.e.