S - The argument type for the function.T - The return type for the function.public interface Function<S,T> extends ExceptionalFunction<S,T,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)
ExceptionalFunctionE in the process.apply in interface ExceptionalFunction<S,T,RuntimeException>apply in interface com.google.common.base.Function<S,T>item - The item to perform work against.Copyright © 2007-2017 The Apache Software Foundation