- byKey
InputRange!string byKey()
Undocumented in source. Be warned that the author may not have intended to support it.
- byValue
InputRange!Object byValue()
Undocumented in source. Be warned that the author may not have intended to support it.
- clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
- containsKey
bool containsKey(string o)
Undocumented in source. Be warned that the author may not have intended to support it.
- containsValue
bool containsValue(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
- get
Object get(string o)
Undocumented in source. Be warned that the author may not have intended to support it.
- getTypedValue
E getTypedValue(string key)
Performs a {@link #get get} operation but additionally ensures that the value returned is of the specified
{@code type}. If there is no value, {@code null} is returned.
- isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
- nullSafePut
void nullSafePut(string key, Object value)
Places a value in this context map under the given key only if the given {@code value} argument is not null.
- opApply
int opApply(int delegate(ref string, ref Object) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
- opApply
int opApply(int delegate(MapEntry!(string, Object) entry) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(IObject o)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
Object opIndex(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
- put
Object put(string s, Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
- putAll
void putAll(Map!(string, Object) map)
Undocumented in source. Be warned that the author may not have intended to support it.
- putIfAbsent
Object putIfAbsent(string key, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.
- remove
Object remove(string o)
Undocumented in source. Be warned that the author may not have intended to support it.
- remove
bool remove(string key, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.
- replace
bool replace(string key, Object oldValue, Object newValue)
Undocumented in source. Be warned that the author may not have intended to support it.
- replace
Object replace(string key, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.
- size
int size()
Undocumented in source. Be warned that the author may not have intended to support it.
- toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
- toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
- values
Object[] values()
Undocumented in source. Be warned that the author may not have intended to support it.
A {@code MapContext} provides a common base for context-based data storage in a {@link Map}. Type-safe attribute retrieval is provided for subclasses with the {@link #getTypedValue(string, Class)} method.
@see hunt.shiro.subject.SubjectContext SubjectContext @see hunt.shiro.session.mgt.SessionContext SessionContext