Nullable.get

If a value is present, returns the value, otherwise throws {@code NoSuchElementException}.

@apiNote The preferred alternative to this method is {@link #orElseThrow()}.

@return the non-{@code null} value described by this {@code Nullable} @throws NoSuchElementException if no value is present

class Nullable(T)
T
get
()

Meta