Interface Function<T,V>
- All Superinterfaces:
Function<T,V>
,Serializable
- All Known Implementing Classes:
CaseFunction
,CheckedFunction
,DoubleFunctionImpl
,Functions.FunctionChain
,Functions.SizeFunction
,IfFunction
,IntegerFunctionImpl
,LongFunctionImpl
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Function<T,V> extends Function<T,V>, Serializable
Function is a one-argument lambda which performs a transformation on the object of type
T
passed to the valueOf() method. This transformation can return the value of calling a getter, or perform
some more elaborate logic to calculate a value, of type V
.