Modifier and Type | Method and Description |
---|---|
static <T> Converter.Result<T> |
defined(T value) |
T |
get() |
boolean |
isDefined() |
T |
or(T otherwise) |
T |
orThrow(Position position,
java.lang.String message) |
static <T> Converter.Result<T> |
undefined() |
public Result(T value, boolean defined)
public static <T> Converter.Result<T> undefined()
public static <T> Converter.Result<T> defined(T value)
public T get()
public boolean isDefined()