de.schlichtherle.util
Class Arrays
java.lang.Object
de.schlichtherle.util.Arrays
public class Arrays
- extends Object
- Version:
- TrueZIP 6.7
- Author:
- Christian Schlichtherle
Constructor Summary |
protected |
Arrays()
|
Method Summary |
static boolean |
equals(byte[] b1,
int b1off,
byte[] b2,
int b2off,
int max)
Compares max bytes at the specified offsets of the given
arrays. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Arrays
protected Arrays()
equals
public static boolean equals(byte[] b1,
int b1off,
byte[] b2,
int b2off,
int max)
- Compares max bytes at the specified offsets of the given
arrays.
If the remaining bytes at the given offset of any array is smaller than
max bytes, it must match the number of remaining bytes at the
given offset in the other array.