T
- -the return typeK
- -the type of parameter oneV
- -the type of parameter two@FunctionalInterface
public interface Calculator<T,K,V>
Modifier and Type | Method and Description |
---|---|
T |
calculate(K k,
V v)
this method is to do calculation with k and v, and return one value in type T
|