|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.eyebolt.util.ArrayUtils
Array utility methods
Constructor Summary | |
ArrayUtils()
|
Method Summary | |
static boolean |
equals(byte[] a1,
byte[] a2)
Returns true if the two specified arrays of bytes are equal to one another. |
static boolean |
sliceEquals(byte[] a1,
int a1Offset,
byte[] a2,
int a2Offset,
int length)
Returns true if the two specified ranges of bytes are equal to one another. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public ArrayUtils()
Method Detail |
public static boolean equals(byte[] a1, byte[] a2)
a1
- one array to be tested for equality.a2
- the other array to be tested for equality.public static boolean sliceEquals(byte[] a1, int a1Offset, byte[] a2, int a2Offset, int length)
a1
- one array to be tested for equality.a1Offset
- offset into a1 to begin comparinga2
- the other array to be tested for equality.a2Offset
- offset into a2 to begin comparinglength
- how far to compare
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |