computeValue in subclasses;
call getValue in using code.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract double | |
| public double |
| computed | back to summary |
|---|---|
| private boolean computed | |
| value | back to summary |
|---|---|
| private double value | |
| MemoizedDouble | back to summary |
|---|---|
| public MemoizedDouble() | |
| computeValue | back to summary |
|---|---|
| protected abstract double computeValue() Should compute the value of this memoized object. This will only
be called once, upon the first call to | |
| getValue | back to summary |
|---|---|
| public double getValue() Public accessor for the memoized value. | |