Interface CheckedFunction1<T1,R,E extends Throwable>
- All Superinterfaces:
Function<T1,
R>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface CheckedFunction1<T1,R,E extends Throwable>
extends Function<T1,R>
-
Method Summary
Modifier and TypeMethodDescriptiondefault <V,
E1 extends Throwable>
CheckedFunction1<T1,V, E1> andThen
(CheckedFunction1<? super R, ? extends V, E1> after) default R
checkedApply
(T1 t) default <V,
E1 extends Throwable>
CheckedFunction1<V,R, E1> compose
(CheckedFunction1<? super V, ? extends T1, E1> before) static <T1,
R, E extends Throwable>
CheckedFunction1<T1,R, E> of
(CheckedFunction1<T1, R, E> function) toOptional
(T1 t)
-
Method Details
-
checkedApply
-
apply
-
compose
default <V,E1 extends Throwable> CheckedFunction1<V,R, composeE1> (CheckedFunction1<? super V, ? extends T1, E1> before) -
andThen
default <V,E1 extends Throwable> CheckedFunction1<T1,V, andThenE1> (CheckedFunction1<? super R, ? extends V, E1> after) -
toOptional
-
of
-