public class AllEqualComparator<T> extends java.lang.Object implements java.util.Comparator<T>
Modifier and Type | Field and Description |
---|---|
static AllEqualComparator<java.lang.Object> |
OBJECT_INSTANCE
Instance of this comparator.
|
Constructor and Description |
---|
AllEqualComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T t1,
T t2)
Returns 0.
|
public static final AllEqualComparator<java.lang.Object> OBJECT_INSTANCE
public AllEqualComparator()