org.ehcache.function
Interface BiFunction<A,B,T>

Type Parameters:
A - the type of the first parameter
B - the type of the second parameter
T - the return type of the function

public interface BiFunction<A,B,T>

Generic function interface for operating on two parameters and returning a result.


Method Summary
 T apply(A a, B b)
          Applies the function to the provided parameters.
 

Method Detail

apply

T apply(A a,
        B b)
Applies the function to the provided parameters.

Parameters:
a - the first parameter
b - the second parameter
Returns:
the function result