Class DuplicateTreeMap<K,​V>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<K,​java.util.List<V>>, java.util.NavigableMap<K,​java.util.List<V>>, java.util.SortedMap<K,​java.util.List<V>>
    Direct Known Subclasses:
    NoticeQueue

    public class DuplicateTreeMap<K,​V>
    extends java.util.TreeMap<K,​java.util.List<V>>

    DuplicateTreeMap class.

    Version:
    $Id: $
    Author:
    ranger
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      V putItem​(K key, V value)
      putItem
      java.lang.String toString()
      • Methods inherited from class java.util.TreeMap

        ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, isEmpty
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
    • Constructor Detail

      • DuplicateTreeMap

        public DuplicateTreeMap()
    • Method Detail

      • putItem

        public V putItem​(K key,
                         V value)

        putItem

        Type Parameters:
        K - a K object.
        V - a V object.
        Parameters:
        key - a K object.
        value - a V object.
        Returns:
        a V object.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.AbstractMap<K,​java.util.List<V>>