Package org.assertj.core.util
Class NullSafeComparator<T>
- java.lang.Object
-
- org.assertj.core.util.NullSafeComparator<T>
-
- All Implemented Interfaces:
Comparator<T>
- Direct Known Subclasses:
AbstractComparableNumberComparator
,DoubleComparator
,FloatComparator
abstract class NullSafeComparator<T> extends Object implements Comparator<T>
-
-
Constructor Summary
Constructors Constructor Description NullSafeComparator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
compare(T o1, T o2)
protected abstract int
compareNonNull(T o1, T o2)
-
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
-
-