jodd.util
Class ArraysUtil

java.lang.Object
  extended by jodd.util.ArraysUtil

public class ArraysUtil
extends java.lang.Object

More array utilities. DO NOT MODIFY: this source is generated.


Constructor Summary
ArraysUtil()
           
 
Method Summary
static boolean[] append(boolean[] buffer, boolean newElement)
          Appends an element to array.
static byte[] append(byte[] buffer, byte newElement)
          Appends an element to array.
static char[] append(char[] buffer, char newElement)
          Appends an element to array.
static double[] append(double[] buffer, double newElement)
          Appends an element to array.
static float[] append(float[] buffer, float newElement)
          Appends an element to array.
static int[] append(int[] buffer, int newElement)
          Appends an element to array.
static long[] append(long[] buffer, long newElement)
          Appends an element to array.
static short[] append(short[] buffer, short newElement)
          Appends an element to array.
static java.lang.String[] append(java.lang.String[] buffer, java.lang.String newElement)
          Appends an element to array.
static
<T> T[]
append(T[] buffer, T newElement)
          Appends an element to array.
static boolean contains(boolean[] array, boolean value)
           
static boolean contains(boolean[] array, boolean[] sub)
           
static boolean contains(byte[] array, byte value)
           
static boolean contains(byte[] array, byte[] sub)
           
static boolean contains(char[] array, char value)
           
static boolean contains(char[] array, char[] sub)
           
static boolean contains(double[] array, double value)
           
static boolean contains(double[] array, double[] sub)
           
static boolean contains(float[] array, float value)
           
static boolean contains(float[] array, float[] sub)
           
static boolean contains(int[] array, int value)
           
static boolean contains(int[] array, int[] sub)
           
static boolean contains(long[] array, long value)
           
static boolean contains(long[] array, long[] sub)
           
static boolean contains(java.lang.Object[] array, java.lang.Object value)
           
static boolean contains(java.lang.Object[] array, java.lang.Object value, int startIndex)
           
static boolean contains(short[] array, short value)
           
static boolean contains(short[] array, short[] sub)
           
static int indexOf(boolean[] array, boolean value)
          Finds the first occurrence in an array.
static int indexOf(boolean[] array, boolean[] sub)
          Finds the first occurrence in an array.
static int indexOf(boolean[] array, boolean[] sub, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(boolean[] array, boolean[] sub, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(boolean[] array, boolean value, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(boolean[] array, boolean value, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(byte[] array, byte value)
          Finds the first occurrence in an array.
static int indexOf(byte[] array, byte[] sub)
          Finds the first occurrence in an array.
static int indexOf(byte[] array, byte[] sub, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(byte[] array, byte[] sub, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(byte[] array, byte value, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(byte[] array, byte value, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(char[] array, char value)
          Finds the first occurrence in an array.
static int indexOf(char[] array, char[] sub)
          Finds the first occurrence in an array.
static int indexOf(char[] array, char[] sub, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(char[] array, char[] sub, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(char[] array, char value, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(char[] array, char value, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(double[] array, double value)
          Finds the first occurrence in an array.
static int indexOf(double[] array, double[] sub)
          Finds the first occurrence in an array.
static int indexOf(double[] array, double[] sub, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(double[] array, double[] sub, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(double[] array, double value, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(double[] array, double value, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(float[] array, float value)
          Finds the first occurrence in an array.
static int indexOf(float[] array, float[] sub)
          Finds the first occurrence in an array.
static int indexOf(float[] array, float[] sub, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(float[] array, float[] sub, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(float[] array, float value, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(float[] array, float value, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(int[] array, int value)
          Finds the first occurrence in an array.
static int indexOf(int[] array, int[] sub)
          Finds the first occurrence in an array.
static int indexOf(int[] array, int[] sub, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(int[] array, int[] sub, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(int[] array, int value, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(int[] array, int value, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(long[] array, long value)
          Finds the first occurrence in an array.
static int indexOf(long[] array, long[] sub)
          Finds the first occurrence in an array.
static int indexOf(long[] array, long[] sub, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(long[] array, long[] sub, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(long[] array, long value, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(long[] array, long value, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(java.lang.Object[] array, java.lang.Object value)
          Finds the first occurrence in an array.
static int indexOf(java.lang.Object[] array, java.lang.Object value, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(short[] array, short value)
          Finds the first occurrence in an array.
static int indexOf(short[] array, short[] sub)
          Finds the first occurrence in an array.
static int indexOf(short[] array, short[] sub, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(short[] array, short[] sub, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static int indexOf(short[] array, short value, int startIndex)
          Finds the first occurrence in an array from specified given position.
static int indexOf(short[] array, short value, int startIndex, int endIndex)
          Finds the first occurrence in an array from specified given position and upto given length.
static boolean[] insert(boolean[] dest, boolean[] src, int offset)
          Inserts one array into another.
static boolean[] insert(boolean[] dest, boolean src, int offset)
          Inserts one element into array.
static byte[] insert(byte[] dest, byte[] src, int offset)
          Inserts one array into another.
static byte[] insert(byte[] dest, byte src, int offset)
          Inserts one element into array.
static char[] insert(char[] dest, char[] src, int offset)
          Inserts one array into another.
static char[] insert(char[] dest, char src, int offset)
          Inserts one element into array.
static double[] insert(double[] dest, double[] src, int offset)
          Inserts one array into another.
static double[] insert(double[] dest, double src, int offset)
          Inserts one element into array.
static float[] insert(float[] dest, float[] src, int offset)
          Inserts one array into another.
static float[] insert(float[] dest, float src, int offset)
          Inserts one element into array.
static int[] insert(int[] dest, int[] src, int offset)
          Inserts one array into another.
static int[] insert(int[] dest, int src, int offset)
          Inserts one element into array.
static long[] insert(long[] dest, long[] src, int offset)
          Inserts one array into another.
static long[] insert(long[] dest, long src, int offset)
          Inserts one element into array.
static short[] insert(short[] dest, short[] src, int offset)
          Inserts one array into another.
static short[] insert(short[] dest, short src, int offset)
          Inserts one element into array.
static java.lang.String[] insert(java.lang.String[] dest, java.lang.String[] src, int offset)
          Inserts one array into another.
static java.lang.String[] insert(java.lang.String[] dest, java.lang.String src, int offset)
          Inserts one element into array.
static
<T> T[]
insert(T[] dest, T[] src, int offset)
          Inserts one array into another.
static
<T> T[]
insert(T[] dest, T[] src, int offset, java.lang.Class componentType)
          Inserts one array into another.
static
<T> T[]
insert(T[] dest, T src, int offset)
           
static
<T> T[]
insert(T[] dest, T src, int offset, java.lang.Class componentType)
           
static boolean[] insertAt(boolean[] dest, boolean[] src, int offset)
          Inserts one array into another by replacing specified offset.
static byte[] insertAt(byte[] dest, byte[] src, int offset)
          Inserts one array into another by replacing specified offset.
static char[] insertAt(char[] dest, char[] src, int offset)
          Inserts one array into another by replacing specified offset.
static double[] insertAt(double[] dest, double[] src, int offset)
          Inserts one array into another by replacing specified offset.
static float[] insertAt(float[] dest, float[] src, int offset)
          Inserts one array into another by replacing specified offset.
static int[] insertAt(int[] dest, int[] src, int offset)
          Inserts one array into another by replacing specified offset.
static long[] insertAt(long[] dest, long[] src, int offset)
          Inserts one array into another by replacing specified offset.
static short[] insertAt(short[] dest, short[] src, int offset)
          Inserts one array into another by replacing specified offset.
static java.lang.String[] insertAt(java.lang.String[] dest, java.lang.String[] src, int offset)
          Inserts one array into another by replacing specified offset.
static
<T> T[]
insertAt(T[] dest, T[] src, int offset)
          Inserts one array into another by replacing specified offset.
static
<T> T[]
insertAt(T[] dest, T[] src, int offset, java.lang.Class componentType)
          Inserts one array into another by replacing specified offset.
static boolean[] join(boolean[] first, boolean[] second)
          Joins two arrays.
static byte[] join(byte[] first, byte[] second)
          Joins two arrays.
static char[] join(char[] first, char[] second)
          Joins two arrays.
static double[] join(double[] first, double[] second)
          Joins two arrays.
static float[] join(float[] first, float[] second)
          Joins two arrays.
static int[] join(int[] first, int[] second)
          Joins two arrays.
static long[] join(long[] first, long[] second)
          Joins two arrays.
static short[] join(short[] first, short[] second)
          Joins two arrays.
static java.lang.String[] join(java.lang.String[] first, java.lang.String[] second)
          Joins two arrays.
static
<T> T[]
join(T[] first, T[] second)
          Joins two arrays.
static
<T> T[]
join(T[] first, T[] second, java.lang.Class componentType)
          Joins two arrays.
static boolean[] merge(boolean[]... arrays)
          Merge arrays.
static byte[] merge(byte[]... arrays)
          Merge arrays.
static char[] merge(char[]... arrays)
          Merge arrays.
static double[] merge(double[]... arrays)
          Merge arrays.
static float[] merge(float[]... arrays)
          Merge arrays.
static int[] merge(int[]... arrays)
          Merge arrays.
static long[] merge(long[]... arrays)
          Merge arrays.
static short[] merge(short[]... arrays)
          Merge arrays.
static java.lang.String[] merge(java.lang.String[]... arrays)
          Merge arrays.
static
<T> T[]
merge(T[]... arrays)
          Merge arrays.
static boolean[] remove(boolean[] buffer, int offset, int length)
          Removes subarray.
static byte[] remove(byte[] buffer, int offset, int length)
          Removes subarray.
static char[] remove(char[] buffer, int offset, int length)
          Removes subarray.
static double[] remove(double[] buffer, int offset, int length)
          Removes subarray.
static float[] remove(float[] buffer, int offset, int length)
          Removes subarray.
static int[] remove(int[] buffer, int offset, int length)
          Removes subarray.
static long[] remove(long[] buffer, int offset, int length)
          Removes subarray.
static short[] remove(short[] buffer, int offset, int length)
          Removes subarray.
static java.lang.String[] remove(java.lang.String[] buffer, int offset, int length)
          Removes subarray.
static
<T> T[]
remove(T[] buffer, int offset, int length)
          Removes subarray.
static
<T> T[]
remove(T[] buffer, int offset, int length, java.lang.Class componentType)
          Removes subarray.
static boolean[] resize(boolean[] buffer, int newSize)
          Resizes an array.
static byte[] resize(byte[] buffer, int newSize)
          Resizes an array.
static char[] resize(char[] buffer, int newSize)
          Resizes an array.
static double[] resize(double[] buffer, int newSize)
          Resizes an array.
static float[] resize(float[] buffer, int newSize)
          Resizes an array.
static int[] resize(int[] buffer, int newSize)
          Resizes an array.
static long[] resize(long[] buffer, int newSize)
          Resizes an array.
static short[] resize(short[] buffer, int newSize)
          Resizes an array.
static java.lang.String[] resize(java.lang.String[] buffer, int newSize)
          Resizes an array.
static
<T> T[]
resize(T[] buffer, int newSize)
          Resizes an array.
static
<T> T[]
resize(T[] buffer, int newSize, java.lang.Class<?> componentType)
          Resizes an array.
static boolean[] subarray(boolean[] buffer, int offset, int length)
          Returns subarray.
static byte[] subarray(byte[] buffer, int offset, int length)
          Returns subarray.
static char[] subarray(char[] buffer, int offset, int length)
          Returns subarray.
static double[] subarray(double[] buffer, int offset, int length)
          Returns subarray.
static float[] subarray(float[] buffer, int offset, int length)
          Returns subarray.
static int[] subarray(int[] buffer, int offset, int length)
          Returns subarray.
static long[] subarray(long[] buffer, int offset, int length)
          Returns subarray.
static short[] subarray(short[] buffer, int offset, int length)
          Returns subarray.
static java.lang.String[] subarray(java.lang.String[] buffer, int offset, int length)
          Returns subarray.
static
<T> T[]
subarray(T[] buffer, int offset, int length)
          Returns subarray.
static
<T> T[]
subarray(T[] buffer, int offset, int length, java.lang.Class componentType)
          Returns subarray.
static java.lang.String toString(boolean[] array)
          Converts an array to string.
static java.lang.String toString(byte[] array)
          Converts an array to string.
static java.lang.String toString(char[] array)
          Converts an array to string.
static java.lang.String toString(double[] array)
          Converts an array to string.
static java.lang.String toString(float[] array)
          Converts an array to string.
static java.lang.String toString(int[] array)
          Converts an array to string.
static java.lang.String toString(long[] array)
          Converts an array to string.
static java.lang.String toString(java.lang.Object[] array)
          Converts an array to string.
static java.lang.String toString(short[] array)
          Converts an array to string.
static java.lang.String toString(java.lang.String[] array)
          Converts an array to string.
static boolean[] values(java.lang.Boolean[] array)
          Converts to primitive array.
static byte[] values(java.lang.Byte[] array)
          Converts to primitive array.
static char[] values(java.lang.Character[] array)
          Converts to primitive array.
static double[] values(java.lang.Double[] array)
          Converts to primitive array.
static float[] values(java.lang.Float[] array)
          Converts to primitive array.
static int[] values(java.lang.Integer[] array)
          Converts to primitive array.
static long[] values(java.lang.Long[] array)
          Converts to primitive array.
static short[] values(java.lang.Short[] array)
          Converts to primitive array.
static java.lang.Boolean[] valuesOf(boolean[] array)
          Converts to object array.
static java.lang.Byte[] valuesOf(byte[] array)
          Converts to object array.
static java.lang.Character[] valuesOf(char[] array)
          Converts to object array.
static java.lang.Double[] valuesOf(double[] array)
          Converts to object array.
static java.lang.Float[] valuesOf(float[] array)
          Converts to object array.
static java.lang.Integer[] valuesOf(int[] array)
          Converts to object array.
static java.lang.Long[] valuesOf(long[] array)
          Converts to object array.
static java.lang.Short[] valuesOf(short[] array)
          Converts to object array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArraysUtil

public ArraysUtil()
Method Detail

merge

public static <T> T[] merge(T[]... arrays)
Merge arrays.


merge

public static java.lang.String[] merge(java.lang.String[]... arrays)
Merge arrays.


merge

public static byte[] merge(byte[]... arrays)
Merge arrays.


merge

public static char[] merge(char[]... arrays)
Merge arrays.


merge

public static short[] merge(short[]... arrays)
Merge arrays.


merge

public static int[] merge(int[]... arrays)
Merge arrays.


merge

public static long[] merge(long[]... arrays)
Merge arrays.


merge

public static float[] merge(float[]... arrays)
Merge arrays.


merge

public static double[] merge(double[]... arrays)
Merge arrays.


merge

public static boolean[] merge(boolean[]... arrays)
Merge arrays.


join

public static <T> T[] join(T[] first,
                           T[] second)
Joins two arrays.


join

public static <T> T[] join(T[] first,
                           T[] second,
                           java.lang.Class componentType)
Joins two arrays.


join

public static java.lang.String[] join(java.lang.String[] first,
                                      java.lang.String[] second)
Joins two arrays.


join

public static byte[] join(byte[] first,
                          byte[] second)
Joins two arrays.


join

public static char[] join(char[] first,
                          char[] second)
Joins two arrays.


join

public static short[] join(short[] first,
                           short[] second)
Joins two arrays.


join

public static int[] join(int[] first,
                         int[] second)
Joins two arrays.


join

public static long[] join(long[] first,
                          long[] second)
Joins two arrays.


join

public static float[] join(float[] first,
                           float[] second)
Joins two arrays.


join

public static double[] join(double[] first,
                            double[] second)
Joins two arrays.


join

public static boolean[] join(boolean[] first,
                             boolean[] second)
Joins two arrays.


resize

public static <T> T[] resize(T[] buffer,
                             int newSize)
Resizes an array.


resize

public static <T> T[] resize(T[] buffer,
                             int newSize,
                             java.lang.Class<?> componentType)
Resizes an array.


resize

public static java.lang.String[] resize(java.lang.String[] buffer,
                                        int newSize)
Resizes an array.


resize

public static byte[] resize(byte[] buffer,
                            int newSize)
Resizes an array.


resize

public static char[] resize(char[] buffer,
                            int newSize)
Resizes an array.


resize

public static short[] resize(short[] buffer,
                             int newSize)
Resizes an array.


resize

public static int[] resize(int[] buffer,
                           int newSize)
Resizes an array.


resize

public static long[] resize(long[] buffer,
                            int newSize)
Resizes an array.


resize

public static float[] resize(float[] buffer,
                             int newSize)
Resizes an array.


resize

public static double[] resize(double[] buffer,
                              int newSize)
Resizes an array.


resize

public static boolean[] resize(boolean[] buffer,
                               int newSize)
Resizes an array.


append

public static <T> T[] append(T[] buffer,
                             T newElement)
Appends an element to array.


append

public static java.lang.String[] append(java.lang.String[] buffer,
                                        java.lang.String newElement)
Appends an element to array.


append

public static byte[] append(byte[] buffer,
                            byte newElement)
Appends an element to array.


append

public static char[] append(char[] buffer,
                            char newElement)
Appends an element to array.


append

public static short[] append(short[] buffer,
                             short newElement)
Appends an element to array.


append

public static int[] append(int[] buffer,
                           int newElement)
Appends an element to array.


append

public static long[] append(long[] buffer,
                            long newElement)
Appends an element to array.


append

public static float[] append(float[] buffer,
                             float newElement)
Appends an element to array.


append

public static double[] append(double[] buffer,
                              double newElement)
Appends an element to array.


append

public static boolean[] append(boolean[] buffer,
                               boolean newElement)
Appends an element to array.


remove

public static <T> T[] remove(T[] buffer,
                             int offset,
                             int length)
Removes subarray.


remove

public static <T> T[] remove(T[] buffer,
                             int offset,
                             int length,
                             java.lang.Class componentType)
Removes subarray.


remove

public static java.lang.String[] remove(java.lang.String[] buffer,
                                        int offset,
                                        int length)
Removes subarray.


remove

public static byte[] remove(byte[] buffer,
                            int offset,
                            int length)
Removes subarray.


remove

public static char[] remove(char[] buffer,
                            int offset,
                            int length)
Removes subarray.


remove

public static short[] remove(short[] buffer,
                             int offset,
                             int length)
Removes subarray.


remove

public static int[] remove(int[] buffer,
                           int offset,
                           int length)
Removes subarray.


remove

public static long[] remove(long[] buffer,
                            int offset,
                            int length)
Removes subarray.


remove

public static float[] remove(float[] buffer,
                             int offset,
                             int length)
Removes subarray.


remove

public static double[] remove(double[] buffer,
                              int offset,
                              int length)
Removes subarray.


remove

public static boolean[] remove(boolean[] buffer,
                               int offset,
                               int length)
Removes subarray.


subarray

public static <T> T[] subarray(T[] buffer,
                               int offset,
                               int length)
Returns subarray.


subarray

public static <T> T[] subarray(T[] buffer,
                               int offset,
                               int length,
                               java.lang.Class componentType)
Returns subarray.


subarray

public static java.lang.String[] subarray(java.lang.String[] buffer,
                                          int offset,
                                          int length)
Returns subarray.


subarray

public static byte[] subarray(byte[] buffer,
                              int offset,
                              int length)
Returns subarray.


subarray

public static char[] subarray(char[] buffer,
                              int offset,
                              int length)
Returns subarray.


subarray

public static short[] subarray(short[] buffer,
                               int offset,
                               int length)
Returns subarray.


subarray

public static int[] subarray(int[] buffer,
                             int offset,
                             int length)
Returns subarray.


subarray

public static long[] subarray(long[] buffer,
                              int offset,
                              int length)
Returns subarray.


subarray

public static float[] subarray(float[] buffer,
                               int offset,
                               int length)
Returns subarray.


subarray

public static double[] subarray(double[] buffer,
                                int offset,
                                int length)
Returns subarray.


subarray

public static boolean[] subarray(boolean[] buffer,
                                 int offset,
                                 int length)
Returns subarray.


insert

public static <T> T[] insert(T[] dest,
                             T[] src,
                             int offset)
Inserts one array into another.


insert

public static <T> T[] insert(T[] dest,
                             T src,
                             int offset)

insert

public static <T> T[] insert(T[] dest,
                             T[] src,
                             int offset,
                             java.lang.Class componentType)
Inserts one array into another.


insert

public static <T> T[] insert(T[] dest,
                             T src,
                             int offset,
                             java.lang.Class componentType)

insert

public static java.lang.String[] insert(java.lang.String[] dest,
                                        java.lang.String[] src,
                                        int offset)
Inserts one array into another.


insert

public static java.lang.String[] insert(java.lang.String[] dest,
                                        java.lang.String src,
                                        int offset)
Inserts one element into array.


insert

public static byte[] insert(byte[] dest,
                            byte[] src,
                            int offset)
Inserts one array into another.


insert

public static byte[] insert(byte[] dest,
                            byte src,
                            int offset)
Inserts one element into array.


insert

public static char[] insert(char[] dest,
                            char[] src,
                            int offset)
Inserts one array into another.


insert

public static char[] insert(char[] dest,
                            char src,
                            int offset)
Inserts one element into array.


insert

public static short[] insert(short[] dest,
                             short[] src,
                             int offset)
Inserts one array into another.


insert

public static short[] insert(short[] dest,
                             short src,
                             int offset)
Inserts one element into array.


insert

public static int[] insert(int[] dest,
                           int[] src,
                           int offset)
Inserts one array into another.


insert

public static int[] insert(int[] dest,
                           int src,
                           int offset)
Inserts one element into array.


insert

public static long[] insert(long[] dest,
                            long[] src,
                            int offset)
Inserts one array into another.


insert

public static long[] insert(long[] dest,
                            long src,
                            int offset)
Inserts one element into array.


insert

public static float[] insert(float[] dest,
                             float[] src,
                             int offset)
Inserts one array into another.


insert

public static float[] insert(float[] dest,
                             float src,
                             int offset)
Inserts one element into array.


insert

public static double[] insert(double[] dest,
                              double[] src,
                              int offset)
Inserts one array into another.


insert

public static double[] insert(double[] dest,
                              double src,
                              int offset)
Inserts one element into array.


insert

public static boolean[] insert(boolean[] dest,
                               boolean[] src,
                               int offset)
Inserts one array into another.


insert

public static boolean[] insert(boolean[] dest,
                               boolean src,
                               int offset)
Inserts one element into array.


insertAt

public static <T> T[] insertAt(T[] dest,
                               T[] src,
                               int offset)
Inserts one array into another by replacing specified offset.


insertAt

public static <T> T[] insertAt(T[] dest,
                               T[] src,
                               int offset,
                               java.lang.Class componentType)
Inserts one array into another by replacing specified offset.


insertAt

public static java.lang.String[] insertAt(java.lang.String[] dest,
                                          java.lang.String[] src,
                                          int offset)
Inserts one array into another by replacing specified offset.


insertAt

public static byte[] insertAt(byte[] dest,
                              byte[] src,
                              int offset)
Inserts one array into another by replacing specified offset.


insertAt

public static char[] insertAt(char[] dest,
                              char[] src,
                              int offset)
Inserts one array into another by replacing specified offset.


insertAt

public static short[] insertAt(short[] dest,
                               short[] src,
                               int offset)
Inserts one array into another by replacing specified offset.


insertAt

public static int[] insertAt(int[] dest,
                             int[] src,
                             int offset)
Inserts one array into another by replacing specified offset.


insertAt

public static long[] insertAt(long[] dest,
                              long[] src,
                              int offset)
Inserts one array into another by replacing specified offset.


insertAt

public static float[] insertAt(float[] dest,
                               float[] src,
                               int offset)
Inserts one array into another by replacing specified offset.


insertAt

public static double[] insertAt(double[] dest,
                                double[] src,
                                int offset)
Inserts one array into another by replacing specified offset.


insertAt

public static boolean[] insertAt(boolean[] dest,
                                 boolean[] src,
                                 int offset)
Inserts one array into another by replacing specified offset.


values

public static byte[] values(java.lang.Byte[] array)
Converts to primitive array.


valuesOf

public static java.lang.Byte[] valuesOf(byte[] array)
Converts to object array.


values

public static char[] values(java.lang.Character[] array)
Converts to primitive array.


valuesOf

public static java.lang.Character[] valuesOf(char[] array)
Converts to object array.


values

public static short[] values(java.lang.Short[] array)
Converts to primitive array.


valuesOf

public static java.lang.Short[] valuesOf(short[] array)
Converts to object array.


values

public static int[] values(java.lang.Integer[] array)
Converts to primitive array.


valuesOf

public static java.lang.Integer[] valuesOf(int[] array)
Converts to object array.


values

public static long[] values(java.lang.Long[] array)
Converts to primitive array.


valuesOf

public static java.lang.Long[] valuesOf(long[] array)
Converts to object array.


values

public static float[] values(java.lang.Float[] array)
Converts to primitive array.


valuesOf

public static java.lang.Float[] valuesOf(float[] array)
Converts to object array.


values

public static double[] values(java.lang.Double[] array)
Converts to primitive array.


valuesOf

public static java.lang.Double[] valuesOf(double[] array)
Converts to object array.


values

public static boolean[] values(java.lang.Boolean[] array)
Converts to primitive array.


valuesOf

public static java.lang.Boolean[] valuesOf(boolean[] array)
Converts to object array.


indexOf

public static int indexOf(byte[] array,
                          byte value)
Finds the first occurrence in an array.


contains

public static boolean contains(byte[] array,
                               byte value)

indexOf

public static int indexOf(byte[] array,
                          byte value,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(byte[] array,
                          byte value,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(char[] array,
                          char value)
Finds the first occurrence in an array.


contains

public static boolean contains(char[] array,
                               char value)

indexOf

public static int indexOf(char[] array,
                          char value,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(char[] array,
                          char value,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(short[] array,
                          short value)
Finds the first occurrence in an array.


contains

public static boolean contains(short[] array,
                               short value)

indexOf

public static int indexOf(short[] array,
                          short value,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(short[] array,
                          short value,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(int[] array,
                          int value)
Finds the first occurrence in an array.


contains

public static boolean contains(int[] array,
                               int value)

indexOf

public static int indexOf(int[] array,
                          int value,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(int[] array,
                          int value,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(long[] array,
                          long value)
Finds the first occurrence in an array.


contains

public static boolean contains(long[] array,
                               long value)

indexOf

public static int indexOf(long[] array,
                          long value,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(long[] array,
                          long value,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(boolean[] array,
                          boolean value)
Finds the first occurrence in an array.


contains

public static boolean contains(boolean[] array,
                               boolean value)

indexOf

public static int indexOf(boolean[] array,
                          boolean value,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(boolean[] array,
                          boolean value,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(float[] array,
                          float value)
Finds the first occurrence in an array.


contains

public static boolean contains(float[] array,
                               float value)

indexOf

public static int indexOf(float[] array,
                          float value,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(float[] array,
                          float value,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(double[] array,
                          double value)
Finds the first occurrence in an array.


contains

public static boolean contains(double[] array,
                               double value)

indexOf

public static int indexOf(double[] array,
                          double value,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(double[] array,
                          double value,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(java.lang.Object[] array,
                          java.lang.Object value)
Finds the first occurrence in an array.


contains

public static boolean contains(java.lang.Object[] array,
                               java.lang.Object value)

indexOf

public static int indexOf(java.lang.Object[] array,
                          java.lang.Object value,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


contains

public static boolean contains(java.lang.Object[] array,
                               java.lang.Object value,
                               int startIndex)

indexOf

public static int indexOf(byte[] array,
                          byte[] sub)
Finds the first occurrence in an array.


contains

public static boolean contains(byte[] array,
                               byte[] sub)

indexOf

public static int indexOf(byte[] array,
                          byte[] sub,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(byte[] array,
                          byte[] sub,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(char[] array,
                          char[] sub)
Finds the first occurrence in an array.


contains

public static boolean contains(char[] array,
                               char[] sub)

indexOf

public static int indexOf(char[] array,
                          char[] sub,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(char[] array,
                          char[] sub,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(short[] array,
                          short[] sub)
Finds the first occurrence in an array.


contains

public static boolean contains(short[] array,
                               short[] sub)

indexOf

public static int indexOf(short[] array,
                          short[] sub,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(short[] array,
                          short[] sub,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(int[] array,
                          int[] sub)
Finds the first occurrence in an array.


contains

public static boolean contains(int[] array,
                               int[] sub)

indexOf

public static int indexOf(int[] array,
                          int[] sub,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(int[] array,
                          int[] sub,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(long[] array,
                          long[] sub)
Finds the first occurrence in an array.


contains

public static boolean contains(long[] array,
                               long[] sub)

indexOf

public static int indexOf(long[] array,
                          long[] sub,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(long[] array,
                          long[] sub,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(boolean[] array,
                          boolean[] sub)
Finds the first occurrence in an array.


contains

public static boolean contains(boolean[] array,
                               boolean[] sub)

indexOf

public static int indexOf(boolean[] array,
                          boolean[] sub,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(boolean[] array,
                          boolean[] sub,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(float[] array,
                          float[] sub)
Finds the first occurrence in an array.


contains

public static boolean contains(float[] array,
                               float[] sub)

indexOf

public static int indexOf(float[] array,
                          float[] sub,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(float[] array,
                          float[] sub,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


indexOf

public static int indexOf(double[] array,
                          double[] sub)
Finds the first occurrence in an array.


contains

public static boolean contains(double[] array,
                               double[] sub)

indexOf

public static int indexOf(double[] array,
                          double[] sub,
                          int startIndex)
Finds the first occurrence in an array from specified given position.


indexOf

public static int indexOf(double[] array,
                          double[] sub,
                          int startIndex,
                          int endIndex)
Finds the first occurrence in an array from specified given position and upto given length.


toString

public static java.lang.String toString(java.lang.Object[] array)
Converts an array to string. Return string contains no brackets.


toString

public static java.lang.String toString(java.lang.String[] array)
Converts an array to string. Return string contains no brackets.


toString

public static java.lang.String toString(byte[] array)
Converts an array to string. Return string contains no brackets.


toString

public static java.lang.String toString(char[] array)
Converts an array to string. Return string contains no brackets.


toString

public static java.lang.String toString(short[] array)
Converts an array to string. Return string contains no brackets.


toString

public static java.lang.String toString(int[] array)
Converts an array to string. Return string contains no brackets.


toString

public static java.lang.String toString(long[] array)
Converts an array to string. Return string contains no brackets.


toString

public static java.lang.String toString(float[] array)
Converts an array to string. Return string contains no brackets.


toString

public static java.lang.String toString(double[] array)
Converts an array to string. Return string contains no brackets.


toString

public static java.lang.String toString(boolean[] array)
Converts an array to string. Return string contains no brackets.



Copyright © 2003-2012 Jodd Team