de.schlichtherle.truezip.util
Class ArrayHelper
java.lang.Object
de.schlichtherle.truezip.util.ArrayHelper
@ThreadSafe
public class ArrayHelper
- extends Object
Provides static utility methods for arrays.
- Author:
- Christian Schlichtherle
|
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 |
ArrayHelper
private ArrayHelper()
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.
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.