Package org.apache.myfaces.util.lang
Class SubKeyMap<V>
Map that wraps another to provide an isolated namespace using
 a prefix.  This is especially handy for storing properties on
 the session in a structured manner without putting them into
 a true "Map" - because storing in a Map breaks session failover.
 (Session failover won't trigger on mutations of contained objects.)
 
Note that there is a potential design flaw; if you create a SubKeyMap for "mypackage.foo" and for "mypackage.foo.bar", all the keys in the latter will actually show up in the former (prefixed by ".bar"). This "flaw" is actually relied on by PageFlowScopeMap (since it provides a handy way to clear out all descendents), so don't "fix" it!
- 
Nested Class SummaryNested classes/interfaces inherited from class java.util.AbstractMapAbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> 
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.util.AbstractMapclear, clone, containsValue, equals, hashCode, keySet, putAll, size, toString, valuesMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Mapcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
- 
Constructor Details- 
SubKeyMap
 
- 
- 
Method Details- 
isEmptypublic boolean isEmpty()
- 
get
- 
put
- 
remove
- 
containsKey- Specified by:
- containsKeyin interface- Map<String,- V> 
- Overrides:
- containsKeyin class- AbstractMap<String,- V> 
 
- 
entrySet
 
-