@ThreadSafe public class ArrayHelper extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(byte[] b1,
int b1off,
byte[] b2,
int b2off,
int max)
Compares
max bytes at the specified offsets of the given
arrays. |
public static boolean equals(byte[] b1, int b1off, byte[] b2, int b2off, int max)
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–2018 Schlichtherle IT Services. All rights reserved.