|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.messageforge.RArrayCompare
Class to compare arrays for equality. We cannot use java.util.Arrays.equals because it is not supported in JDK1.1.
Constructor Summary | |
RArrayCompare()
|
Method Summary | |
static boolean |
equals(boolean[] first,
boolean[] second)
Compare boolean arrays for equality. |
static boolean |
equals(byte[] first,
byte[] second)
Compare byte< arrays for equality. |
static boolean |
equals(char[] first,
char[] second)
Compare char< arrays for equality. |
static boolean |
equals(double[] first,
double[] second)
Compare double< arrays for equality. |
static boolean |
equals(float[] first,
float[] second)
Compare float< arrays for equality. |
static boolean |
equals(int[] first,
int[] second)
Compare int arrays for equality. |
static boolean |
equals(long[] first,
long[] second)
Compare long< arrays for equality. |
static boolean |
equals(java.lang.Object[] first,
java.lang.Object[] second)
Compare Object arrays for equality. |
static boolean |
equals(short[] first,
short[] second)
Compare short arrays for equality. |
static boolean |
equals(java.lang.String[] first,
java.lang.String[] second)
Compare String arrays for equality. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RArrayCompare()
Method Detail |
public static boolean equals(short[] first, short[] second)
first
- First array.second
- Second array.
public static boolean equals(int[] first, int[] second)
first
- First array.second
- Second array.
public static boolean equals(long[] first, long[] second)
first
- First array.second
- Second array.
public static boolean equals(float[] first, float[] second)
first
- First array.second
- Second array.
public static boolean equals(double[] first, double[] second)
first
- First array.second
- Second array.
public static boolean equals(char[] first, char[] second)
first
- First array.second
- Second array.
public static boolean equals(byte[] first, byte[] second)
first
- First array.second
- Second array.
public static boolean equals(boolean[] first, boolean[] second)
first
- First array.second
- Second array.
public static boolean equals(java.lang.String[] first, java.lang.String[] second)
first
- First array.second
- Second array.
public static boolean equals(java.lang.Object[] first, java.lang.Object[] second)
first
- First array.second
- Second array.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |