@Deprecated public class CachedDecider<T> extends Object implements DeciderIF<T>, CachedIF
Modifier and Type | Field and Description |
---|---|
protected Map<T,Boolean> |
cache
Deprecated.
|
protected DeciderIF<T> |
decider
Deprecated.
|
Constructor and Description |
---|
CachedDecider(DeciderIF<T> decider)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DeciderIF<T> |
getDecider()
Deprecated.
Gets the decider that being cached.
|
boolean |
ok(T object)
Deprecated.
PUBLIC: Returns true if the object is accepted.
|
void |
refresh()
Deprecated.
Refreshes the cache.
|
void |
setDecider(DeciderIF<T> decider)
Deprecated.
Sets the decider that is to be cached.
|