public class Equals
extends java.lang.Object
Constructor and Description |
---|
Equals() |
Modifier and Type | Method and Description |
---|---|
static boolean |
approximately(java.lang.Object o1,
java.lang.Object o2)
Tests whether the two objects given are either all null or all approximately equal
(tolerance of 0.001 for floating point, but subject to change)
|
static boolean |
approximately(java.lang.Object o1,
java.lang.Object o2,
java.lang.Object o3,
java.lang.Object... oo)
As
approximately(Object, Object) but testing all the arguments given. |
static void |
dumpReflectiveEquals(java.lang.Object o1,
java.lang.Object o2)
Useful for debugging EqualsBuilder.reflectionEquals
|
static boolean |
objects(java.lang.Object o1,
java.lang.Object o2,
java.lang.Object... oo)
Tests whether the objects given are either all null or all equal to the first argument
|
public static boolean objects(java.lang.Object o1, java.lang.Object o2, java.lang.Object... oo)
public static boolean approximately(java.lang.Object o1, java.lang.Object o2)
public static boolean approximately(java.lang.Object o1, java.lang.Object o2, java.lang.Object o3, java.lang.Object... oo)
approximately(Object, Object)
but testing all the arguments given.public static void dumpReflectiveEquals(java.lang.Object o1, java.lang.Object o2)