public abstract class ContextBase extends Object implements Context
Context abstract class.| Constructor and Description |
|---|
ContextBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key)
Return
true if this context contains an entry with the given key. |
Object |
get(Object key)
Get the value in the context map defined by the given key.
|
void |
put(Object key,
Object value)
Store a key value pair into the context.
|
String |
toString() |
public Object get(Object key)
Contextnull if no such key exists, or if
they key maps to a null value.public void put(Object key, Object value)
Contextpublic boolean containsKey(Object key)
Contexttrue if this context contains an entry with the given key.containsKey in interface ContextCopyright © 2014 OCPsoft. All Rights Reserved.