T - @FunctionalInterface public interface UncheckedFunction<T,R> extends java.util.function.Function<T,R>
RepositoryException cannot be used as lambdas without "unchecking" those exceptions.| Modifier and Type | Method and Description |
|---|---|
default R |
apply(T elem) |
R |
applyThrows(T elem)
The same semantic as
apply(Object), but allowed to throw a RepositoryException |
static <T,R> UncheckedFunction<T,R> |
uncheck(UncheckedFunction<T,R> p) |
andThen, compose, identitydefault R apply(T elem)
apply in interface java.util.function.Function<T,R>R applyThrows(T elem) throws javax.jcr.RepositoryException
apply(Object), but allowed to throw a RepositoryExceptionelem - javax.jcr.RepositoryExceptionstatic <T,R> UncheckedFunction<T,R> uncheck(UncheckedFunction<T,R> p)
p - a lambda expressionCopyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.