T
- the type of the input to the functionR
- the type of the result of the function
apiNote: It will be replace by jdk-api if p4java use jdk1.8 in future.public interface Function<T,R>
apply(Object)
.Modifier and Type | Method and Description |
---|---|
R |
apply(T t)
Applies this function to the given argument.
|
R apply(T t) throws RequestException
t
- the function argumentRequestException
- on error