Package | Description |
---|---|
org.opendaylight.yangtools.concepts |
Modifier and Type | Method and Description |
---|---|
<U> CheckedValue<U,E> |
CheckedValue.flatMap(Function<? super T,CheckedValue<U,E>> mapper) |
<U> CheckedValue<U,E> |
CheckedValue.map(Function<? super T,U> mapper) |
<X extends Exception> |
CheckedValue.mapException(Function<? super E,X> mapper) |
static <T,E extends Exception> |
CheckedValue.ofException(E cause)
Create a new instance containing an
Exception . |
static <T,E extends Exception> |
CheckedValue.ofValue(T value)
Create a new instance containing specified value.
|
static <T,U,E extends Exception> |
CheckedValue.ofVariant(Variant<T,U> variant,
Function<U,E> mapper)
Convert a Variant into a
CheckedValue , converting the second value into an exception. |
Modifier and Type | Method and Description |
---|---|
<U> CheckedValue<U,E> |
CheckedValue.flatMap(Function<? super T,CheckedValue<U,E>> mapper) |
Copyright © 2019 OpenDaylight. All rights reserved.