public abstract class FieldCache<T,Owner,AccessorParameter,Parameter>
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
FieldCache() |
Modifier and Type | Method and Description |
---|---|
void |
clear(AccessorParameter a,
Owner owner) |
protected abstract T |
compute(Owner owner,
Parameter p) |
T |
get(AccessorParameter a,
Owner owner,
Parameter p) |
T |
getCached(AccessorParameter a,
Owner owner) |
protected abstract T |
getValue(Owner owner,
AccessorParameter p) |
protected abstract void |
putValue(T t,
Owner owner,
AccessorParameter p) |
public T get(AccessorParameter a, Owner owner, Parameter p)
public final T getCached(AccessorParameter a, Owner owner)
public void clear(AccessorParameter a, Owner owner)
protected abstract T getValue(Owner owner, AccessorParameter p)
protected abstract void putValue(T t, Owner owner, AccessorParameter p)