computeValue in subclasses;
call getValue in using code.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract long | |
| public long |
| computed | back to summary |
|---|---|
| private boolean computed | |
| value | back to summary |
|---|---|
| private long value | |
| MemoizedLong | back to summary |
|---|---|
| public MemoizedLong() | |
| computeValue | back to summary |
|---|---|
| protected abstract long 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 long getValue() Public accessor for the memoized value. | |