T
- type of the argumentR
- type of the return value@FunctionalInterface public interface Function<T,R>
Modifier and Type | Method and Description |
---|---|
default <V> Function<T,V> |
andThen(Function<? super R,? extends V> after) |
R |
apply(T t) |
default <V> Function<V,R> |
compose(Function<? super V,? extends T> before) |
static <T> Function<T,T> |
identity() |
Copyright © 2018. All rights reserved.