Class NameKeyedMap<K extends QName,T>

All Implemented Interfaces:
Serializable, Map<K,T>

public class NameKeyedMap<K extends QName,T> extends Object implements Map<K,T>, Serializable
Special case of a map that has QName or ItemName as a key. The main issue with path-keyed maps is that comparing item paths using equals/hashCode is unreliable. This map does _not_ support null keys. Also, collections returned by keySet(), values(), entrySet() are not modifiable.
See Also:
  • Constructor Details

    • NameKeyedMap

      public NameKeyedMap()
  • Method Details