Package at.jku.ssw.fp.sect02_1
Interface Function<T,R>
-
- Type Parameters:
T
- the type of the function argumentR
- the type of the function result
- 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,R>
Functional interface mapping a value to a result.- Author:
- Herbert Praehofer
- See Also:
Function
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
apply(T t)
Applies the argument, returns a result.
-