com.mizar.commons.lang
Class ArrayUtils

java.lang.Object
  extended by org.apache.commons.lang.ArrayUtils
      extended by com.mizar.commons.lang.ArrayUtils

public class ArrayUtils
extends org.apache.commons.lang.ArrayUtils


Field Summary
 
Fields inherited from class org.apache.commons.lang.ArrayUtils
EMPTY_BOOLEAN_ARRAY, EMPTY_BOOLEAN_OBJECT_ARRAY, EMPTY_BYTE_ARRAY, EMPTY_BYTE_OBJECT_ARRAY, EMPTY_CHAR_ARRAY, EMPTY_CHARACTER_OBJECT_ARRAY, EMPTY_CLASS_ARRAY, EMPTY_DOUBLE_ARRAY, EMPTY_DOUBLE_OBJECT_ARRAY, EMPTY_FLOAT_ARRAY, EMPTY_FLOAT_OBJECT_ARRAY, EMPTY_INT_ARRAY, EMPTY_INTEGER_OBJECT_ARRAY, EMPTY_LONG_ARRAY, EMPTY_LONG_OBJECT_ARRAY, EMPTY_OBJECT_ARRAY, EMPTY_SHORT_ARRAY, EMPTY_SHORT_OBJECT_ARRAY, EMPTY_STRING_ARRAY, INDEX_NOT_FOUND
 
Constructor Summary
protected ArrayUtils()
           
 
Method Summary
static double[] append(double[] target, double[] source, int beginIndex, int endIndex)
          COMPLETELY UNTESTED -- roughed in code by Mark Appends a range of values from a source array to a target array
static boolean intersects(java.lang.Long[] p1, java.lang.Long[] p2)
          Compare two long arrays if they intersects each other
static java.util.ArrayList<java.lang.Integer> toArrayList(int[] ints)
           
 
Methods inherited from class org.apache.commons.lang.ArrayUtils
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAll, addAll, clone, clone, clone, clone, clone, clone, clone, clone, clone, contains, contains, contains, contains, contains, contains, contains, contains, contains, contains, getLength, hashCode, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEmpty, isEquals, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isNotEmpty, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameLength, isSameType, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, nullToEmpty, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, removeElement, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, reverse, subarray, subarray, subarray, subarray, subarray, subarray, subarray, subarray, subarray, toMap, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayUtils

protected ArrayUtils()
Method Detail

append

public static double[] append(double[] target,
                              double[] source,
                              int beginIndex,
                              int endIndex)
COMPLETELY UNTESTED -- roughed in code by Mark Appends a range of values from a source array to a target array

Parameters:
target -
source -
beginIndex -
endIndex -
Returns:
the combined array.

intersects

public static boolean intersects(java.lang.Long[] p1,
                                 java.lang.Long[] p2)
Compare two long arrays if they intersects each other

Parameters:
p1 -
p2 -
Returns:

toArrayList

public static java.util.ArrayList<java.lang.Integer> toArrayList(int[] ints)