Class AbstractCollectionSortedMap<K,V>

java.lang.Object
org.jppf.utils.collections.AbstractCollectionMap<K,V>
org.jppf.utils.collections.AbstractCollectionSortedMap<K,V>
Type Parameters:
K - the type of keys in the map.
V - the type of values in the collections mapped to the keys.
All Implemented Interfaces:
Serializable, Iterable<V>, CollectionMap<K,V>, CollectionSortedMap<K,V>
Direct Known Subclasses:
ArrayListSortedMap, LinkedListSortedMap, SetSortedMap, SortedSetSortedMap

public abstract class AbstractCollectionSortedMap<K,V> extends AbstractCollectionMap<K,V> implements CollectionSortedMap<K,V>
A sorted map whose values are sets of a given component type.
Author:
Laurent Cohen
See Also:
  • Field Details

    • comparator

      protected final Comparator<K> comparator
      Comparator used to sort the keys.
  • Constructor Details

    • AbstractCollectionSortedMap

      public AbstractCollectionSortedMap()
      Default cosntructor.
    • AbstractCollectionSortedMap

      public AbstractCollectionSortedMap(Comparator<K> comparator)
      Initialize this collection sorted map with the specified comparator.
      Parameters:
      comparator - comparator used to sort the keys.
  • Method Details