public interface ISession
| Modifier and Type | Interface and Description |
|---|---|
static class |
ISession.NullImpl
A default implementation that stores nothing.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(java.lang.Object key)
Get the stored information for the given key.
|
<T> T |
get(java.lang.Object key,
org.eclipse.xtext.xbase.lib.Functions.Function0<? extends T> factory)
Get the stored information for the given key, creating it if it is not present yet.
|
void |
put(java.lang.Object key,
java.lang.Object value)
Add the given information to this session store, overwriting any previously stored
information for that key.
|
void |
remove(java.lang.Object key)
Remove the information stored with the given key.
|
<T> T get(java.lang.Object key)
null if nothing
is associated with that key.<T> T get(java.lang.Object key,
org.eclipse.xtext.xbase.lib.Functions.Function0<? extends T> factory)
void put(java.lang.Object key,
java.lang.Object value)
void remove(java.lang.Object key)