public class ComparableMatcher<T extends java.lang.Comparable<T>> extends java.lang.Object implements UniformMatcher<T>
0
.
Indeed the Comparable.compareTo(Object)
method of object 1 is used.
This matcher does not allow null
values.
IDENTICAL
Constructor and Description |
---|
ComparableMatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
areEqual(T object1,
T object2)
Are the given two objects considered equal?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
identical