org.deckfour.xes.model.impl
Class XAttributeMapImpl
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,XAttribute>
org.deckfour.xes.model.impl.XAttributeMapImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,XAttribute>, XAttributeMap
public class XAttributeMapImpl
- extends HashMap<String,XAttribute>
- implements XAttributeMap
Memory-based implementation of the XAttributeMap interface.
- Author:
- Christian W. Guenther (christian@deckfour.org)
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.HashMap |
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
XAttributeMapImpl
public XAttributeMapImpl()
- Creates a new attribute map.
XAttributeMapImpl
public XAttributeMapImpl(int size)
- Creates a new attribute map.
- Parameters:
size
- Initial size of the map.
XAttributeMapImpl
public XAttributeMapImpl(Map<String,XAttribute> template)
- Creates a new attribute map.
- Parameters:
template
- Copy the contents of this attribute
map to the new attrribute map.
clone
public Object clone()
- Creates a clone, i.e. deep copy, of this attribute map.
- Specified by:
clone
in interface XAttributeMap
- Overrides:
clone
in class HashMap<String,XAttribute>
- Returns:
- An identical clone of the attribute map.