public class ArraysUtils extends Object
Constructor and Description |
---|
ArraysUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(char[] left,
int offsetLeft,
char[] right,
int offsetRight,
int length)
See if two array slices are the same.
|
public static boolean equals(char[] left, int offsetLeft, char[] right, int offsetRight, int length)
left
- The left array to compareoffsetLeft
- The offset into the array. Must be positiveright
- The right array to compareoffsetRight
- the offset into the right array. Must be positivelength
- The length of the section of the array to compareArrays.equals(char[], char[])