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)
Context
null
if no such key exists, or if
they key maps to a null
value.public void put(Object key, Object value)
Context
public boolean containsKey(Object key)
Context
true
if this context contains an entry with the given key.containsKey
in interface Context
Copyright © 2014 OCPsoft. All Rights Reserved.