Package 

Class ComparatorContract

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public enum CompToZero
    • Method Summary

      Modifier and Type Method Description
      static <T> void testComparator(T least1, T middle1, T greatest1, Comparator<T> comparator) Tests the various properties the Comparable contract is supposed to uphold.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • testComparator

         static <T> void testComparator(T least1, T middle1, T greatest1, Comparator<T> comparator)
        Tests the various properties the Comparable contract is supposed to uphold.