public class CompareUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(byte[] o1,
byte[] o2)
Compares two byte arrays for equality.
|
static boolean |
equals(int[] o1,
int[] o2)
Compares two int arrays for equality.
|
static boolean |
equals(java.lang.Object[] o1,
java.lang.Object[] o2)
Compares two arrays of objects for equality.
|
static boolean |
equals(java.lang.Object o1,
java.lang.Object o2)
Compares two objects for equality.
|
public static boolean equals(java.lang.Object o1, java.lang.Object o2)
o1
- Objecto2
- Objectpublic static boolean equals(java.lang.Object[] o1, java.lang.Object[] o2)
o1
- Object arrayo2
- Object arraypublic static boolean equals(byte[] o1, byte[] o2)
o1
- byte arrayo2
- byte arraypublic static boolean equals(int[] o1, int[] o2)
o1
- int arrayo2
- int array