I
- the input type.O
- the output type.public interface Calculator<I,O>
Modifier and Type | Method and Description |
---|---|
O |
calculate(List<? extends Handle<? extends I>> inputs)
Performs an atomic calculation.
|
String |
toString()
Gets the label for this
Calculator as it would appear in Engine.toString() . |
O calculate(List<? extends Handle<? extends I>> inputs)
inputs
- the List
of inputs.String toString()
Calculator
as it would appear in Engine.toString()
.