|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.castor.xmlctf.CompareHelper
public class CompareHelper
Assists in the comparison of objects. This method is used by generated code but is not used within the CTF directly.
| Constructor Summary | |
|---|---|
CompareHelper()
|
|
| Method Summary | |
|---|---|
static boolean |
comparePrimitiveArray(java.lang.Object o1,
java.lang.Object o2)
Compares two arrays of primitive values. |
static boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Compare two objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompareHelper()
| Method Detail |
|---|
public static boolean equals(java.lang.Object o1,
java.lang.Object o2)
Warning: We will throw a NullPointerException if any element of either array is null.
o1 - first objecto2 - second object
public static boolean comparePrimitiveArray(java.lang.Object o1,
java.lang.Object o2)
o1 - The first arrayo2 - The second array
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||