public class OptionalUtil extends Object
OptionalUtil()
static <T,E extends Exception>Optional<T>
ifEmpty(Optional<T> o, ActionE0<E> r)
ifPresent(Optional<T> o, ActionE1<T,E> r)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public OptionalUtil()
public static <T,E extends Exception> Optional<T> ifEmpty(Optional<T> o, ActionE0<E> r) throws E extends Exception
E extends Exception
public static <T,E extends Exception> Optional<T> ifPresent(Optional<T> o, ActionE1<T,E> r) throws E extends Exception
Copyright © 2018. All rights reserved.