| Modifier and Type | Method and Description |
|---|---|
IOptional<T,E> |
accept(IAcceptor<T> acceptor) |
<O> void |
consum(IConsumer<T,E> consumer) |
<O> IOptional<O,E> |
convert(IConverter<T,O,E> converter) |
static <T,E extends Exception> |
create(T value) |
<O> IOptional<T,E> |
equals(IConverter<T,O,E> converter,
O other) |
T |
get() |
T |
getOr(ISupplier<T,E> supplier) |
T |
getOr(T value) |
<X extends Exception> |
getOrThrow(ISupplier<X,E> supplier) |
<X extends Exception> |
getOrThrow(X throwable) |
public <O> IOptional<T,E> equals(IConverter<T,O,E> converter, O other) throws E extends Exception
public <X extends Exception> T getOrThrow(X throwable) throws E extends Exception, X extends Exception
public <X extends Exception> T getOrThrow(ISupplier<X,E> supplier) throws E extends Exception, X extends Exception
Copyright © 2007–2016 Andreas Bartels. All rights reserved.