|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjtools.ByteArrayComparison
public class ByteArrayComparison
Compares two byte arrays for equality. Returns true
if both arrays are of the same length and contain exactly the same
byte values. Returns false otherwise.
| Constructor Summary | |
|---|---|
ByteArrayComparison()
Constructor for ByteArrayComparison. |
|
| Method Summary | |
|---|---|
boolean |
compare(byte[] a,
byte[] b)
Determines whether two buffers contain the same contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteArrayComparison()
ByteArrayComparison.
| Method Detail |
|---|
public boolean compare(byte[] a,
byte[] b)
a - a byte array bufferb - a byte array buffer
boolean true or false
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||