java.io.Serializablepublic final class RuleSetCache extends java.lang.Object implements java.io.Serializable
| Constructor | Description |
|---|---|
RuleSetCache() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(java.lang.Class<?> key) |
Returns true if this cache contains a mapping for the specified key.
|
FromAnnotationsRuleSet |
get(java.lang.Class<?> key) |
Returns the value to which the specified key is cached, or null if this
cache contains no mapping for the key.
|
void |
put(java.lang.Class<?> key,
FromAnnotationsRuleSet value) |
Associates the specified value with the specified key in this cache.
|
public RuleSetCache()
public boolean containsKey(java.lang.Class<?> key)
key - key whose presence in this map is to be tested.public FromAnnotationsRuleSet get(java.lang.Class<?> key)
key - the key has to be checked it is present, it must not be null.public void put(java.lang.Class<?> key, FromAnnotationsRuleSet value)
key - key with which the specified value is to be associated.value - value to be associated with the specified key.