public abstract class FastByteComparisons extends Object
UnsignedBytes
class to be able to compare arrays that start at non-zero offsets.| Constructor and Description |
|---|
FastByteComparisons() |
| Modifier and Type | Method and Description |
|---|---|
static int |
compareTo(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
Lexicographically compare two byte arrays.
|
static boolean |
isEqual(byte[] b1,
byte[] b2) |
public static boolean isEqual(byte[] b1,
byte[] b2)
public static int compareTo(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
b1 - buffer1s1 - offset1l1 - length1b2 - buffer2s2 - offset2l2 - length2Copyright © 2020. All rights reserved.