Class KeepFirstTreeMap<K,​V>

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.TreeMap<K,​V>
games.stendhal.server.core.reflectiondebugger.KeepFirstTreeMap<K,​V>
Type Parameters:
K - the type of keys maintained by this map
V - the type of mapped values
All Implemented Interfaces:
Serializable, Cloneable, Map<K,​V>, NavigableMap<K,​V>, SortedMap<K,​V>

public class KeepFirstTreeMap<K,​V> extends TreeMap<K,​V>
A tree map which does not override a value in put.
Author:
hendrik
See Also:
Serialized Form
  • Constructor Details

    • KeepFirstTreeMap

      public KeepFirstTreeMap()
  • Method Details

    • put

      public V put(K key, V value)
      Specified by:
      put in interface Map<K,​V>
      Overrides:
      put in class TreeMap<K,​V>