public abstract class MemoizedObject<T> extends Object
computeValue() in subclasses; call getValue() in using code.| Constructor and Description |
|---|
MemoizedObject() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
computeValue()
Should compute the value of this memoized object.
|
T |
getValue()
Public accessor for the memoized value.
|
static <T> MemoizedObject<T>[] |
uncheckedArray(int size) |
protected abstract T computeValue() throws ElfException, IOException
getValue().ElfExceptionIOExceptionpublic final T getValue() throws ElfException, IOException
ElfExceptionIOExceptionpublic static <T> MemoizedObject<T>[] uncheckedArray(int size)
Copyright © 2026. All rights reserved.