Class TestsForMapsInJavaUtil.NullFriendlyComparator<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<T>
    Enclosing class:
    TestsForMapsInJavaUtil

    private static final class TestsForMapsInJavaUtil.NullFriendlyComparator<T>
    extends java.lang.Object
    implements java.util.Comparator<T>, java.io.Serializable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(T left, T right)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • NullFriendlyComparator

        private NullFriendlyComparator()
    • Method Detail

      • compare

        public int compare​(T left,
                           T right)
        Specified by:
        compare in interface java.util.Comparator<T>