org.apache.solr.util
Class ArraysUtils
java.lang.Object
org.apache.solr.util.ArraysUtils
public class ArraysUtils
- extends Object
Method Summary |
static boolean |
equals(char[] left,
int offsetLeft,
char[] right,
int offsetRight,
int length)
See if two array slices are the same. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArraysUtils
public ArraysUtils()
equals
public static boolean equals(char[] left,
int offsetLeft,
char[] right,
int offsetRight,
int length)
- See if two array slices are the same.
- Parameters:
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 compare
- Returns:
- true if the two arrays, starting at their respective offsets, are equal
- See Also:
Arrays.equals(char[], char[])