public final class RuleSetCache extends Object implements Serializable
Constructor and Description |
---|
RuleSetCache() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Class<?> key)
Returns true if this cache contains a mapping for the specified key.
|
FromAnnotationsRuleSet |
get(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(Class<?> key,
FromAnnotationsRuleSet value)
Associates the specified value with the specified key in this cache.
|
public boolean containsKey(Class<?> key)
key
- key whose presence in this map is to be tested.public FromAnnotationsRuleSet get(Class<?> key)
key
- the key has to be checked it is present, it must not be null.public void put(Class<?> key, FromAnnotationsRuleSet value)
key
- key with which the specified value is to be associated.value
- value to be associated with the specified key.Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.