org.apache.solr.util
Class ArraysUtils

java.lang.Object
  extended by org.apache.solr.util.ArraysUtils

public class ArraysUtils
extends Object


Constructor Summary
ArraysUtils()
           
 
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
 

Constructor Detail

ArraysUtils

public ArraysUtils()
Method Detail

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 compare
offsetLeft - The offset into the array. Must be positive
right - The right array to compare
offsetRight - the offset into the right array. Must be positive
length - 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[])