Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.portal.common.util
Class SimpleMapAccessor<K,V>

    java.lang.Object
      org.jboss.portal.common.util.SimpleMapAccessor<K,V>

All Implemented Interfaces:
  MapAccessor<K,V>

    public class SimpleMapAccessor<K,V>

extends java.lang.Object
implements MapAccessor<K,V>

Version:
  $Revision: 1.1 $
Author:
  Julien Viet

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

### SimpleMapAccessor

    public SimpleMapAccessor(java.util.Map<K,V> delegate)

Method Detail

### getMap

    public java.util.Map<K,V> getMap(boolean writable)

  Description copied from interface: `MapAccessor`
  Return the accessed map.

  Specified by:
    `getMap` in interface `MapAccessor<K,V>`
  Parameters:
    `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.
  Returns:
    a non null map

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008. All Rights Reserved.