public class Integration
extends java.lang.Object
| Constructor and Description |
|---|
Integration(double initialValue,
double reading)
Create the integration object with the initial value for the integral value
and the initial reading.
|
| Modifier and Type | Method and Description |
|---|---|
double |
addReading(double reading)
Add a new reading and return the current integral
|