Package | Description |
---|---|
org.opendaylight.infrautils.utils |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Exception> |
Optionals.ifPresent(Optional<T> optional,
CheckedConsumer<? super T,E> consumer)
Like
Optional.ifPresent(java.util.function.Consumer) but allows checked exceptions to be thrown. |
Copyright © 2019 OpenDaylight. All rights reserved.