|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.util.SimpleMapAccessor<K,V>
public class SimpleMapAccessor<K,V>
Constructor Summary | |
---|---|
SimpleMapAccessor(java.util.Map<K,V> delegate)
|
Method Summary | |
---|---|
java.util.Map<K,V> |
getMap(boolean writable)
Return the accessed map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleMapAccessor(java.util.Map<K,V> delegate)
Method Detail |
---|
public java.util.Map<K,V> getMap(boolean writable)
MapAccessor
getMap
in interface MapAccessor<K,V>
writable
- whether or not the Map will be accessed for a write-type (e.g., put, remove...) operation.
This allows for lazy initialization via a create-on-write mechanism.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |