|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object biz.chitec.quarterback.util.EqualityUtilities
Some helper methods for the task of checking equality between more complex objects.
Constructor Summary | |
private |
EqualityUtilities()
|
Method Summary | |
static boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Checks equality of the two given objects and handles null and some complex types correctly If one of the two given objects is null, the method returns false if the other isn't. |
private static boolean |
equalsList(java.util.List l1,
java.util.List l2)
Checks equality of two lists by compairing key-value pairs. |
private static boolean |
equalsMap(java.util.Map m1,
java.util.Map m2)
Checks equality of two maps by compairing key-value pairs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private EqualityUtilities()
Method Detail |
public static final boolean equals(java.lang.Object o1, java.lang.Object o2)
o1
- First object to compareo2
- Second object to compare
private static final boolean equalsMap(java.util.Map m1, java.util.Map m2)
private static final boolean equalsList(java.util.List l1, java.util.List l2)
|
QJCC homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |