public class DefaultContext extends AbstractContext
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERROR_KEY_BLANK |
parentContext| Constructor and Description |
|---|
DefaultContext() |
DefaultContext(Context parentContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected Object |
doGet(String key) |
boolean |
hasKey(String key)
Searches for the key in this context only
|
Set<String> |
keySet()
Returns a
Set view of the keys contained in this context. |
void |
put(String key,
Object value) |
void |
putAt(String key,
Object value) |
Object |
remove(String key) |
containsKey, get, get, getAt, getAtprotected static final String ERROR_KEY_BLANK
@Nullable protected Object doGet(@Nonnull String key)
doGet in class AbstractContextpublic boolean hasKey(@Nonnull String key)
Contextkey - the key to searchpublic void destroy()
destroy in interface Contextdestroy in class AbstractContext