T
- -the calculation return typeK
- -the calculation parameter type@FunctionalInterface
public interface Computer<T,K>
Modifier and Type | Method and Description |
---|---|
T |
calculate(K k)
this method just takes one parameter k, and returns one value in type T after calculation.
|