public class CommandLocals extends Object
| Constructor and Description |
|---|
CommandLocals() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key)
Test whether the given key exists.
|
boolean |
containsValue(Object value)
Test whether the given value exists.
|
<T> T |
get(Class<T> key)
Get an object whose key will be the object's class.
|
Object |
get(Object key)
Returns the value specified by the given key.
|
Object |
put(Object key,
Object value)
Set an contextual value.
|
public boolean containsKey(Object key)
key - the keypublic boolean containsValue(Object value)
value - the value@Nullable public Object get(Object key)
key - the key@Nullable public <T> T get(Class<T> key)
T - the type of objectkey - the key@Nullable public Object put(Object key, Object value)
key - key with which the specified value is to be associatedvalue - value to be associated with the specified keyUnsupportedOperationException - if the put operation
is not supported by this mapClassCastException - if the class of the specified key or value
prevents it from being stored in this mapCopyright © 2015. All Rights Reserved.