Maven module :un.api : api-common :
Class :
un.api.array.Arrays
Extends/Implements : -
Subclasses : -
Variables :
ARRAY_BOOL_EMPTY,
ARRAY_BYTE_EMPTY,
ARRAY_SHORT_EMPTY,
ARRAY_INT_EMPTY,
ARRAY_LONG_EMPTY,
ARRAY_FLOAT_EMPTY,
ARRAY_DOUBLE_EMPTY,
ARRAY_OBJECT_EMPTY
Functions :
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
equals,
resize,
resize,
resize,
resize,
resize,
resize,
resize,
resize,
resize,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
copy,
insert,
insert,
insert,
insert,
insert,
insert,
insert,
insert,
insert,
remove,
remove,
remove,
remove,
remove,
remove,
remove,
remove,
remove,
removeWithin,
removeWithin,
removeWithin,
removeWithin,
removeWithin,
removeWithin,
removeWithin,
removeWithin,
removeWithin,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
fill,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
reverse,
swap,
swap,
swap,
swap,
swap,
swap,
swap,
swap,
swap,
concatenate,
concatenate,
concatenate,
concatenate,
concatenate,
concatenate,
concatenate,
concatenate,
concatenate,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
contains,
containsIdentity,
getFirstOccurence,
getFirstOccurence,
getFirstOccurence,
getFirstOccurence,
getFirstOccurence,
getFirstOccurence,
getFirstOccurence,
getFirstOccurence,
getFirstOccurence,
getFirstOccurenceIdentity,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
toChars,
identityContains,
quickSort,
quickSort,
quickSort,
quickSort,
quickSort,
quickSort,
quickSort,
sort,
sort,
sort,
sort,
sort,
sort,
sort,
quickSort,
sort,
quickSort,
sort,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
binarySearch,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
startsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
endsWith,
reformatDouble,
reformatToDouble,
reformatToDouble,
reformatToFloat,
reformatToFloat,
reformatToLong,
reformatToInt,
reformatToInt,
reformatToInt,
reformatToInt,
reformatToInt,
reformatToShort,
reformatToByte,
arrayXOR
public boolean[]
ARRAY_BOOL_EMPTY
public byte[]
ARRAY_BYTE_EMPTY
public short[]
ARRAY_SHORT_EMPTY
public int[]
ARRAY_INT_EMPTY
public long[]
ARRAY_LONG_EMPTY
public float[]
ARRAY_FLOAT_EMPTY
public double[]
ARRAY_DOUBLE_EMPTY
public Object[]
ARRAY_OBJECT_EMPTY
public boolean
equals (boolean[] a1, boolean[] a2)
public boolean
equals (char[] a1, char[] a2)
public boolean
equals (byte[] a1, byte[] a2)
public boolean
equals (short[] a1, short[] a2)
public boolean
equals (int[] a1, int[] a2)
public boolean
equals (long[] a1, long[] a2)
public boolean
equals (float[] a1, float[] a2)
public boolean
equals (float[] a1, float[] a2, double tolerance)
public boolean
equals (double[] a1, double[] a2)
public boolean
equals (double[] a1, double[] a2, double tolerance)
public boolean
equals (Object[] a1, Object[] a2)
public boolean
equals (boolean[][] a1, boolean[][] a2)
public boolean
equals (char[][] a1, char[][] a2)
public boolean
equals (byte[][] a1, byte[][] a2)
public boolean
equals (short[][] a1, short[][] a2)
public boolean
equals (int[][] a1, int[][] a2)
public boolean
equals (long[][] a1, long[][] a2)
public boolean
equals (float[][] a1, float[][] a2)
public boolean
equals (float[][] a1, float[][] a2, double tolerance)
public boolean
equals (double[][] a1, double[][] a2)
public boolean
equals (double[][] a1, double[][] a2, double tolerance)
public boolean
equals (Object[][] a1, Object[][] a2)
public boolean
equals (boolean[] a1, int soffset, int length, boolean[] a2, int toffset)
public boolean
equals (char[] a1, int soffset, int length, char[] a2, int toffset)
public boolean
equals (byte[] a1, int soffset, int length, byte[] a2, int toffset)
public boolean
equals (short[] a1, int soffset, int length, short[] a2, int toffset)
public boolean
equals (int[] a1, int soffset, int length, int[] a2, int toffset)
public boolean
equals (long[] a1, int soffset, int length, long[] a2, int toffset)
public boolean
equals (float[] a1, int soffset, int length, float[] a2, int toffset)
public boolean
equals (float[] a1, int soffset, int length, float[] a2, int toffset, double tolerance)
public boolean
equals (double[] a1, int soffset, int length, double[] a2, int toffset)
public boolean
equals (double[] a1, int soffset, int length, double[] a2, int toffset, double tolerance)
public boolean
equals (Object[] a1, int soffset, int length, Object[] a2, int toffset)
public boolean[]
resize (boolean[] array, int newSize)
public char[]
resize (char[] array, int newSize)
public byte[]
resize (byte[] array, int newSize)
public short[]
resize (short[] array, int newSize)
public int[]
resize (int[] array, int newSize)
public long[]
resize (long[] array, int newSize)
public float[]
resize (float[] array, int newSize)
public double[]
resize (double[] array, int newSize)
public Object[]
resize (Object[] array, int newSize)
public boolean[]
copy (boolean[] source, int offset, int length)
public char[]
copy (char[] source, int offset, int length)
public byte[]
copy (byte[] source, int offset, int length)
public short[]
copy (short[] source, int offset, int length)
public int[]
copy (int[] source, int offset, int length)
public long[]
copy (long[] source, int offset, int length)
public float[]
copy (float[] source, int offset, int length)
public double[]
copy (double[] source, int offset, int length)
public Object[]
copy (Object[] source, int offset, int length)
public boolean[]
copy (boolean[] source)
public char[]
copy (char[] source)
public byte[]
copy (byte[] source)
public short[]
copy (short[] source)
public int[]
copy (int[] source)
public long[]
copy (long[] source)
public float[]
copy (float[] source)
public double[]
copy (double[] source)
public Object[]
copy (Object[] source)
public boolean[]
copy (boolean[] source, int soffset, int length, boolean[] target, int toffset)
public char[]
copy (char[] source, int soffset, int length, char[] target, int toffset)
public byte[]
copy (byte[] source, int soffset, int length, byte[] target, int toffset)
public short[]
copy (short[] source, int soffset, int length, short[] target, int toffset)
public int[]
copy (int[] source, int soffset, int length, int[] target, int toffset)
public long[]
copy (long[] source, int soffset, int length, long[] target, int toffset)
public float[]
copy (float[] source, int soffset, int length, float[] target, int toffset)
public double[]
copy (double[] source, int soffset, int length, double[] target, int toffset)
public Object[]
copy (Object[] source, int soffset, int length, Object[] target, int toffset)
public boolean[][]
copy (boolean[][] source)
public char[][]
copy (char[][] source)
public byte[][]
copy (byte[][] source)
public short[][]
copy (short[][] source)
public int[][]
copy (int[][] source)
public long[][]
copy (long[][] source)
public float[][]
copy (float[][] source)
public double[][]
copy (double[][] source)
public Object[][]
copy (Object[][] source)
public boolean[][]
copy (boolean[][] source, int sx, int sy, int w, int h, boolean[][] target, int tx, int ty)
public char[][]
copy (char[][] source, int sx, int sy, int w, int h, char[][] target, int tx, int ty)
public byte[][]
copy (byte[][] source, int sx, int sy, int w, int h, byte[][] target, int tx, int ty)
public short[][]
copy (short[][] source, int sx, int sy, int w, int h, short[][] target, int tx, int ty)
public int[][]
copy (int[][] source, int sx, int sy, int w, int h, int[][] target, int tx, int ty)
public long[][]
copy (long[][] source, int sx, int sy, int w, int h, long[][] target, int tx, int ty)
public float[][]
copy (float[][] source, int sx, int sy, int w, int h, float[][] target, int tx, int ty)
public double[][]
copy (double[][] source, int sx, int sy, int w, int h, double[][] target, int tx, int ty)
public Object[][]
copy (Object[][] source, int sx, int sy, int w, int h, Object[][] target, int tx, int ty)
public boolean[]
insert (boolean[] values, int index, boolean value)
public char[]
insert (char[] values, int index, char value)
public byte[]
insert (byte[] values, int index, byte value)
public short[]
insert (short[] values, int index, short value)
public int[]
insert (int[] values, int index, int value)
public long[]
insert (long[] values, int index, long value)
public float[]
insert (float[] values, int index, float value)
public double[]
insert (double[] values, int index, double value)
public Object[]
insert (Object[] values, int index, Object value)
public boolean[]
remove (boolean[] values, int index)
public char[]
remove (char[] values, int index)
public byte[]
remove (byte[] values, int index)
public short[]
remove (short[] values, int index)
public int[]
remove (int[] values, int index)
public long[]
remove (long[] values, int index)
public float[]
remove (float[] values, int index)
public double[]
remove (double[] values, int index)
public Object[]
remove (Object[] values, int index)
public boolean
removeWithin (boolean[] values, int index)
public char
removeWithin (char[] values, int index)
public byte
removeWithin (byte[] values, int index)
public short
removeWithin (short[] values, int index)
public int
removeWithin (int[] values, int index)
public long
removeWithin (long[] values, int index)
public float
removeWithin (float[] values, int index)
public double
removeWithin (double[] values, int index)
public Object
removeWithin (Object[] values, int index)
public void
fill (boolean[] buffer, boolean value)
public void
fill (char[] buffer, char value)
public void
fill (byte[] buffer, byte value)
public void
fill (short[] buffer, short value)
public void
fill (int[] buffer, int value)
public void
fill (long[] buffer, long value)
public void
fill (float[] buffer, float value)
public void
fill (double[] buffer, double value)
public void
fill (Object[] buffer, Object value)
public void
fill (boolean[] buffer, int offset, int length, boolean value)
public void
fill (char[] buffer, int offset, int length, char value)
public void
fill (byte[] buffer, int offset, int length, byte value)
public void
fill (short[] buffer, int offset, int length, short value)
public void
fill (int[] buffer, int offset, int length, int value)
public void
fill (long[] buffer, int offset, int length, long value)
public void
fill (float[] buffer, int offset, int length, float value)
public void
fill (double[] buffer, int offset, int length, double value)
public void
fill (Object[] buffer, int offset, int length, Object value)
public void
reverse (boolean[] array, int offset, int length)
public void
reverse (char[] array, int offset, int length)
public void
reverse (byte[] array, int offset, int length)
public void
reverse (short[] array, int offset, int length)
public void
reverse (int[] array, int offset, int length)
public void
reverse (long[] array, int offset, int length)
public void
reverse (float[] array, int offset, int length)
public void
reverse (double[] array, int offset, int length)
public void
reverse (Object[] array, int offset, int length)
public void
reverse (boolean[] array, int offset, int length, int blockSize)
public void
reverse (char[] array, int offset, int length, int blockSize)
public void
reverse (byte[] array, int offset, int length, int blockSize)
public void
reverse (short[] array, int offset, int length, int blockSize)
public void
reverse (int[] array, int offset, int length, int blockSize)
public void
reverse (long[] array, int offset, int length, int blockSize)
public void
reverse (float[] array, int offset, int length, int blockSize)
public void
reverse (double[] array, int offset, int length, int blockSize)
public void
reverse (Object[] array, int offset, int length, int blockSize)
public void
swap (boolean[] array, int index1, int index2)
public void
swap (char[] array, int index1, int index2)
public void
swap (byte[] array, int index1, int index2)
public void
swap (short[] array, int index1, int index2)
public void
swap (int[] array, int index1, int index2)
public void
swap (long[] array, int index1, int index2)
public void
swap (float[] array, int index1, int index2)
public void
swap (double[] array, int index1, int index2)
public void
swap (Object[] array, int index1, int index2)
public boolean[]
concatenate (boolean[][] arrays)
public char[]
concatenate (char[][] arrays)
public byte[]
concatenate (byte[][] arrays)
public short[]
concatenate (short[][] arrays)
public int[]
concatenate (int[][] arrays)
public long[]
concatenate (long[][] arrays)
public float[]
concatenate (float[][] arrays)
public double[]
concatenate (double[][] arrays)
public Object[]
concatenate (Object[][] arrays)
public boolean
contains (boolean[] array, boolean candidate)
public boolean
contains (char[] array, char candidate)
public boolean
contains (byte[] array, byte candidate)
public boolean
contains (short[] array, short candidate)
public boolean
contains (int[] array, int candidate)
public boolean
contains (long[] array, long candidate)
public boolean
contains (float[] array, float candidate)
public boolean
contains (double[] array, double candidate)
public boolean
contains (Object[] array, Object candidate)
public boolean
contains (boolean[] array, int offset, int length, boolean candidate)
public boolean
contains (char[] array, int offset, int length, char candidate)
public boolean
contains (byte[] array, int offset, int length, byte candidate)
public boolean
contains (short[] array, int offset, int length, short candidate)
public boolean
contains (int[] array, int offset, int length, int candidate)
public boolean
contains (long[] array, int offset, int length, long candidate)
public boolean
contains (float[] array, int offset, int length, float candidate)
public boolean
contains (double[] array, int offset, int length, double candidate)
public boolean
contains (Object[] array, int offset, int length, Object candidate)
public boolean
containsIdentity (Object[] array, int offset, int length, Object candidate)
public int
getFirstOccurence (boolean[] array, int offset, int length, boolean candidate)
public int
getFirstOccurence (char[] array, int offset, int length, char candidate)
public int
getFirstOccurence (byte[] array, int offset, int length, byte candidate)
public int
getFirstOccurence (short[] array, int offset, int length, short candidate)
public int
getFirstOccurence (int[] array, int offset, int length, int candidate)
public int
getFirstOccurence (long[] array, int offset, int length, long candidate)
public int
getFirstOccurence (float[] array, int offset, int length, float candidate)
public int
getFirstOccurence (double[] array, int offset, int length, double candidate)
public int
getFirstOccurence (Object[] array, int offset, int length, Object candidate)
public int
getFirstOccurenceIdentity (Object[] array, int offset, int length, Object candidate)
public Chars
toChars (Object array)
public Chars
toChars (Object array, int maxlength)
public Chars
toChars (boolean[] array, int maxLength)
public Chars
toChars (byte[] array, int maxLength)
public Chars
toChars (short[] array, int maxLength)
public Chars
toChars (int[] array, int maxLength)
public Chars
toChars (long[] array, int maxLength)
public Chars
toChars (float[] array, int maxLength)
public Chars
toChars (double[] array, int maxLength)
public Chars
toChars (Object[] array, int maxLength)
public Chars
toChars (boolean[][] array)
public Chars
toChars (byte[][] array)
public Chars
toChars (short[][] array)
public Chars
toChars (int[][] array)
public Chars
toChars (long[][] array)
public Chars
toChars (float[][] array)
public Chars
toChars (double[][] array)
public Chars
toChars (Object[][] array)
public boolean
identityContains (Object[] array, Object candidate)
public void
quickSort (byte[] array, int leftIndex, int rightIndex)
public void
quickSort (char[] array, int leftIndex, int rightIndex)
public void
quickSort (short[] array, int leftIndex, int rightIndex)
public void
quickSort (int[] array, int leftIndex, int rightIndex)
public void
quickSort (long[] array, int leftIndex, int rightIndex)
public void
quickSort (float[] array, int leftIndex, int rightIndex)
public void
quickSort (double[] array, int leftIndex, int rightIndex)
public void
sort (byte[] array)
public void
sort (char[] array)
public void
sort (short[] array)
public void
sort (int[] array)
public void
sort (long[] array)
public void
sort (float[] array)
public void
sort (double[] array)
public void
quickSort (Object[] array, int leftIndex, int rightIndex)
public void
sort (Object[] array)
public void
quickSort (Object[] array, int leftIndex, int rightIndex, Sorter sorter)
public void
sort (Object[] array, Sorter sorter)
public int
binarySearch (char value, char[] values)
public int
binarySearch (byte value, byte[] values)
public int
binarySearch (short value, short[] values)
public int
binarySearch (short value, short[] values, int left, int right)
public int
binarySearch (int value, int[] values)
public int
binarySearch (int value, int[] values, int left, int right)
public int
binarySearch (long value, long[] values)
public int
binarySearch (long value, long[] values, int left, int right)
public int
binarySearch (float value, float[] values)
public int
binarySearch (float value, float[] values, int left, int right)
public int
binarySearch (double value, double[] values)
public int
binarySearch (double value, double[] values, int left, int right)
public int
binarySearch (Object value, Object[] values)
public int
binarySearch (Object value, Object[] values, Sorter sorter)
public int
binarySearch (Object value, Sequence values)
public int
binarySearch (Object value, Sequence values, Sorter sorter)
public boolean
startsWith (byte[] source, byte[] candidate, int offset, int length)
public boolean
startsWith (boolean[] source, boolean[] candidate, int offset, int length)
public boolean
startsWith (char[] source, char[] candidate, int offset, int length)
public boolean
startsWith (short[] source, short[] candidate, int offset, int length)
public boolean
startsWith (int[] source, int[] candidate, int offset, int length)
public boolean
startsWith (long[] source, long[] candidate, int offset, int length)
public boolean
startsWith (float[] source, float[] candidate, int offset, int length, float tolerance)
public boolean
startsWith (float[] source, float[] candidate, int offset, int length)
public boolean
startsWith (double[] source, double[] candidate, int offset, int length, double tolerance)
public boolean
startsWith (double[] source, double[] candidate, int offset, int length)
public boolean
startsWith (Object[] source, Object[] candidate, int offset, int length)
public boolean
startsWith (byte[] source, byte[] candidate)
public boolean
startsWith (boolean[] source, boolean[] candidate)
public boolean
startsWith (char[] source, char[] candidate)
public boolean
startsWith (short[] source, short[] candidate)
public boolean
startsWith (int[] source, int[] candidate)
public boolean
startsWith (long[] source, long[] candidate)
public boolean
startsWith (float[] source, float[] candidate, float tolerance)
public boolean
startsWith (float[] source, float[] candidate)
public boolean
startsWith (double[] source, double[] candidate, double tolerance)
public boolean
startsWith (double[] source, double[] candidate)
public boolean
startsWith (Object[] source, Object[] candidate)
public boolean
endsWith (byte[] source, byte[] candidate, int offset, int length)
public boolean
endsWith (boolean[] source, boolean[] candidate, int offset, int length)
public boolean
endsWith (char[] source, char[] candidate, int offset, int length)
public boolean
endsWith (short[] source, short[] candidate, int offset, int length)
public boolean
endsWith (int[] source, int[] candidate, int offset, int length)
public boolean
endsWith (long[] source, long[] candidate, int offset, int length)
public boolean
endsWith (float[] source, float[] candidate, int offset, int length, float tolerance)
public boolean
endsWith (float[] source, float[] candidate, int offset, int length)
public boolean
endsWith (double[] source, double[] candidate, int offset, int length, double tolerance)
public boolean
endsWith (double[] source, double[] candidate, int offset, int length)
public boolean
endsWith (Object[] source, Object[] candidate, int offset, int length)
public boolean
endsWith (byte[] source, byte[] candidate)
public boolean
endsWith (boolean[] source, boolean[] candidate)
public boolean
endsWith (char[] source, char[] candidate)
public boolean
endsWith (short[] source, short[] candidate)
public boolean
endsWith (int[] source, int[] candidate)
public boolean
endsWith (long[] source, long[] candidate)
public boolean
endsWith (float[] source, float[] candidate, float tolerance)
public boolean
endsWith (float[] source, float[] candidate)
public boolean
endsWith (double[] source, double[] candidate, double tolerance)
public boolean
endsWith (double[] source, double[] candidate)
public boolean
endsWith (Object[] source, Object[] candidate)
public double[]
reformatDouble (float[] source)
public double[]
reformatToDouble (int[] source)
public double[]
reformatToDouble (float[] source)
public float[]
reformatToFloat (int[] source)
public float[]
reformatToFloat (double[] source)
public long[]
reformatToLong (int[] source)
public int[]
reformatToInt (double[] source)
public int[]
reformatToInt (float[] source)
public int[]
reformatToInt (long[] source)
public int[]
reformatToInt (short[] source)
public int[]
reformatToInt (byte[] source)
public short[]
reformatToShort (int[] source)
public byte[]
reformatToByte (int[] source)
public void
arrayXOR (byte[] source, int sourceIndex, byte[] target, int targetIndex, int length)
author Johann Sorel
author Yann D'Isanto
author Bertrand Cote