Class TestsForSetsInJavaUtil.NullFriendlyComparator<T>
java.lang.Object
com.google.common.collect.testing.TestsForSetsInJavaUtil.NullFriendlyComparator<T>
- All Implemented Interfaces:
Serializable
,Comparator<T>
- Enclosing class:
TestsForSetsInJavaUtil
private static final class TestsForSetsInJavaUtil.NullFriendlyComparator<T>
extends Object
implements Comparator<T>, Serializable
-
Constructor Summary
Constructors -
Method Summary
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 Details
-
NullFriendlyComparator
private NullFriendlyComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-