org.apache.jackrabbit.ocm.manager.collectionconverter.impl
Class ManagedHashMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.apache.jackrabbit.ocm.manager.collectionconverter.impl.ManagedHashMap
All Implemented Interfaces:
Serializable, Cloneable, Map, ManageableCollection

public class ManagedHashMap
extends HashMap
implements ManageableCollection

The ManagedHashMap class provides Map support to JCR Mapping

Author:
Felix Meschberger
See Also:
Serialized Form

Constructor Summary
ManagedHashMap()
           
ManagedHashMap(int initialCapacity)
           
ManagedHashMap(int initialCapacity, float loadFactor)
           
ManagedHashMap(Map m)
           
 
Method Summary
 void addObject(Object object)
          Add an object into this ManageableCollection
 Iterator getIterator()
           
 int getSize()
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ManagedHashMap

public ManagedHashMap()

ManagedHashMap

public ManagedHashMap(int initialCapacity)

ManagedHashMap

public ManagedHashMap(Map m)

ManagedHashMap

public ManagedHashMap(int initialCapacity,
                      float loadFactor)
Method Detail

addObject

public void addObject(Object object)
Description copied from interface: ManageableCollection
Add an object into this ManageableCollection

Specified by:
addObject in interface ManageableCollection
Parameters:
object - the object to add

getIterator

public Iterator getIterator()
Specified by:
getIterator in interface ManageableCollection
Returns:
The ManageableCollection iterator

getSize

public int getSize()
Specified by:
getSize in interface ManageableCollection
Returns:
The ManageableCollection size


Copyright © 2004-2008 Apache Software Foundation. All Rights Reserved.