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