T - the type being insertedpublic class KeyContextInsertor<T> extends Object implements ContextInsertor<T>
ContextInsertor that inserts an object at a specific key.| Constructor and Description |
|---|
KeyContextInsertor(String key)
Construct to insert at the given key
|
public KeyContextInsertor(String key)
key - the keypublic void insert(T obj, Context c)
ContextInsertorinsert in interface ContextInsertor<T>obj - the objectc - the context