Class OrderedPMap<K,V>

Type Parameters:
K -
V -
All Implemented Interfaces:
Serializable, Map<K,V>, PMap<K,V>

public class OrderedPMap<K,V> extends AbstractUnmodifiableMap<K,V> implements PMap<K,V>, Serializable
Like PMap but preserves insertion order. Persistent equivalent of LinkedHashMap.

Note that, like LinkedHashMap, insertion order is not affected if a key is re-inserted into the map.

(Note: this is different from PSortedMap, which keeps elements in the order specified by Comparable.compareTo(Object) or Comparator.compare(Object, Object).)

See Also: