Package zmq.util.function
Interface Function<T,R>
- Type Parameters:
T
- the type of the input to the functionR
- the type of the result of the function
public interface Function<T,R>
Represents a function that accepts one argument and produces a result.
This is a functional interface
whose functional method is apply(Object)
.
-
Method Summary
-
Method Details
-
apply
Applies this function to the given argument.- Parameters:
t
- the function argument- Returns:
- the function result
-