@FunctionalInterface
public interface XFunction<T,R>
Function, but can throw any type of exception.| Modifier and Type | Method | Description |
|---|---|---|
default <V> XFunction<T,V> |
andThen(XFunction<? super R,? extends V> after) |
|
R |
apply(T t) |
|
default <V> XFunction<V,R> |
compose(XFunction<? super V,? extends T> before) |
|
static <T> XFunction<T,T> |
identity() |
static <T> XFunction<T,T> identity()