S
- The argument type for the function.T
- The return type for the function.public interface Function<S,T> extends ExceptionalFunction<S,T,java.lang.RuntimeException>, com.google.common.base.Function<S,T>
Function
and
ExceptionalFunction
.Modifier and Type | Method and Description |
---|---|
T |
apply(S item)
Performs a unit of work on item, possibly throwing
E in the process. |
T apply(S item)
ExceptionalFunction
E
in the process.Copyright © 2007-2017 The Apache Software Foundation