info.bioinfweb.treegraph.gui.dialogs.datatable.math
Class AddCalculator
java.lang.Object
info.bioinfweb.treegraph.gui.dialogs.datatable.math.AddCalculator
- All Implemented Interfaces:
- NodeDataCalculator
public class AddCalculator
- extends Object
- implements NodeDataCalculator
Adds a value to the node data.
- Author:
- Ben Stöver
|
Field Summary |
private double |
addend
|
|
Method Summary |
double |
calculate(double value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addend
private double addend
AddCalculator
public AddCalculator(double addend)
calculate
public double calculate(double value)
- Specified by:
calculate in interface NodeDataCalculator