Class HasPriority.TreeMapComparator

  • All Implemented Interfaces:
    Comparator<HasPriority>
    Enclosing interface:
    HasPriority

    public static class HasPriority.TreeMapComparator
    extends Object
    implements Comparator<HasPriority>
    This comparator is used when a TreeMap is employed to order objects that have priority because TreeMap will only keep one key if multiple keys compare to the same value