Class ArbitraryRankComparator

  • All Implemented Interfaces:
    Comparator<Object>

    public class ArbitraryRankComparator
    extends Object
    implements Comparator<Object>
    A comparator that assigns arbitrary ranks to objects and uses the ranks to impose an arbitrary order on them.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Field Detail

      • EXCEPTION_MESSAGE_KEY_FOUND_OBJECTS_WITH_SAME_RANK

        public static final String EXCEPTION_MESSAGE_KEY_FOUND_OBJECTS_WITH_SAME_RANK
        See Also:
        Constant Field Values
      • EXCEPTION_MESSAGE_KEY_RANK_COMPARATOR_OVERFLOW

        public static final String EXCEPTION_MESSAGE_KEY_RANK_COMPARATOR_OVERFLOW
        See Also:
        Constant Field Values
    • Constructor Detail

      • ArbitraryRankComparator

        public ArbitraryRankComparator()