public class ArrayUtils
extends java.lang.Object
| Constructor and Description |
|---|
ArrayUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
add(byte[] array,
byte... bytes)
Add multiple bytes to the end of an array.
|
static byte[] |
add(byte[] array,
byte b)
Add a byte to the end of an array.
|
static byte[] |
add(byte[] array,
byte[]... other)
Add multiple byte arrays to the end of an array.
|
static byte[] |
add(byte[] array,
int index,
byte... bytes)
Add multiple bytes to an array at a specific index.
|
static byte[] |
add(byte[] array,
int index,
byte b)
Add a byte to an array at a specific index.
|
static byte[] |
add(byte[] array,
int index,
byte[]... other)
Add multiple byte arrays to an array at a specific index.
|
static char[] |
add(char[] array,
char... chars)
Add multiple chars to the end of an array.
|
static char[] |
add(char[] array,
char c)
Add a char to the end of an array.
|
static char[] |
add(char[] array,
char[]... other)
Add multiple char arrays to the end of an array.
|
static char[] |
add(char[] array,
int index,
char... chars)
Add multiple chars to an array at a specific index.
|
static char[] |
add(char[] array,
int index,
char c)
Add a char to an array at a specific index.
|
static char[] |
add(char[] array,
int index,
char[]... other)
Add multiple char arrays to an array at a specific index.
|
static double[] |
add(double[] array,
double... doubles)
Add multiple doubles to the end of an array.
|
static double[] |
add(double[] array,
double d)
Add a double to the end of an array.
|
static double[] |
add(double[] array,
double[]... other)
Add multiple double arrays to the end of an array.
|
static double[] |
add(double[] array,
int index,
double... doubles)
Add multiple doubles to an array at a specific index.
|
static double[] |
add(double[] array,
int index,
double d)
Add a double to an array at a specific index.
|
static double[] |
add(double[] array,
int index,
double[]... other)
Add multiple double arrays to an array at a specific index.
|
static float[] |
add(float[] array,
float... floats)
Add multiple floats to the end of an array.
|
static float[] |
add(float[] array,
float f)
Add a float to the end of an array.
|
static float[] |
add(float[] array,
float[]... other)
Add multiple float arrays to the end of an array.
|
static float[] |
add(float[] array,
int index,
float... floats)
Add multiple floats to an array at a specific index.
|
static float[] |
add(float[] array,
int index,
float f)
Add a float to an array at a specific index.
|
static float[] |
add(float[] array,
int index,
float[]... other)
Add multiple float arrays to an array at a specific index.
|
static int[] |
add(int[] array,
int... ints)
Add multiple ints to the end of an array.
|
static int[] |
add(int[] array,
int i)
Add an int to the end of an array.
|
static int[] |
add(int[] array,
int[]... other)
Add multiple int arrays to the end of an array.
|
static int[] |
add(int[] array,
int index,
int... ints)
Add multiple ints to an array at a specific index.
|
static int[] |
add(int[] array,
int index,
int i)
Add an int to an array at a specific index.
|
static int[] |
add(int[] array,
int index,
int[]... other)
Add multiple int arrays to an array at a specific index.
|
static long[] |
add(long[] array,
int index,
long... longs)
Add multiple longs to an array at a specific index.
|
static long[] |
add(long[] array,
int index,
long l)
Add a long to an array at a specific index.
|
static long[] |
add(long[] array,
int index,
long[]... other)
Add multiple long arrays to an array at a specific index.
|
static long[] |
add(long[] array,
long... longs)
Add multiple longs to the end of an array.
|
static long[] |
add(long[] array,
long l)
Add a long to the end of an array.
|
static long[] |
add(long[] array,
long[]... other)
Add multiple long arrays to the end of an array.
|
static <O> O[] |
add(O[] array,
int index,
O... objects)
Add multiple objects to an array at a specific index.
|
static <O> O[] |
add(O[] array,
int index,
O o)
Add an object to an array at a specific index.
|
static <O> O[] |
add(O[] array,
int index,
O[]... other)
Add multiple object arrays to an array at a specific index.
|
static <O> O[] |
add(O[] array,
O... objects)
Add multiple objects to the end of an array.
|
static <O> O[] |
add(O[] array,
O o)
Add an object to the end of an array.
|
static <O> O[] |
add(O[] array,
O[]... other)
Add multiple object arrays to the end of an array.
|
static short[] |
add(short[] array,
int index,
short... shorts)
Add multiple shorts to an array at a specific index.
|
static short[] |
add(short[] array,
int index,
short s)
Add a short to an array at a specific index.
|
static short[] |
add(short[] array,
int index,
short[]... other)
Add multiple short arrays to an array at a specific index.
|
static short[] |
add(short[] array,
short... shorts)
Add multiple shorts to the end of an array.
|
static short[] |
add(short[] array,
short s)
Add a short to the end of an array.
|
static short[] |
add(short[] array,
short[]... other)
Add multiple short arrays to the end of an array.
|
static int |
indexOf(byte[] array,
byte b)
Get the index of a byte in an array.
|
static int |
indexOf(byte[] array,
byte[] other)
Get the index of a byte array in an array.
|
static int |
indexOf(char[] array,
char c)
Get the index of a char in an array.
|
static int |
indexOf(char[] array,
char[] other)
Get the index of a char array in an array.
|
static int |
indexOf(double[] array,
double d)
Get the index of a double in an array.
|
static int |
indexOf(double[] array,
double[] other)
Get the index of a double array in an array.
|
static int |
indexOf(float[] array,
float f)
Get the index of a float in an array.
|
static int |
indexOf(float[] array,
float[] other)
Get the index of a float array in an array.
|
static int |
indexOf(int[] array,
int i)
Get the index of an int in an array.
|
static int |
indexOf(int[] array,
int[] other)
Get the index of an int array in an array.
|
static int |
indexOf(long[] array,
long l)
Get the index of a long in an array.
|
static int |
indexOf(long[] array,
long[] other)
Get the index of a long array in an array.
|
static <O> int |
indexOf(O[] array,
O o)
Get the index of an object in an array.
|
static <O> int |
indexOf(O[] array,
O[] other)
Get the index of an object array in an array.
|
static int |
indexOf(short[] array,
short s)
Get the index of a short in an array.
|
static int |
indexOf(short[] array,
short[] other)
Get the index of a short array in an array.
|
static int |
indexOfLast(byte[] array,
byte b)
Get the index of a byte in an array starting from the end.
|
static int |
indexOfLast(char[] array,
char c)
Get the index of a char in an array starting from the end.
|
static int |
indexOfLast(double[] array,
double d)
Get the index of a double in an array starting from the end.
|
static int |
indexOfLast(float[] array,
float f)
Get the index of a float in an array starting from the end.
|
static int |
indexOfLast(int[] array,
int i)
Get the index of an int in an array starting from the end.
|
static int |
indexOfLast(long[] array,
long l)
Get the index of a long in an array starting from the end.
|
static <O> int |
indexOfLast(O[] array,
O o)
Get the index of an object in an array starting from the end.
|
static int |
indexOfLast(short[] array,
short s)
Get the index of a short in an array starting from the end.
|
static byte[] |
prepend(byte[] array,
byte... bytes)
Add multiple bytes to the start of an array.
|
static byte[] |
prepend(byte[] array,
byte b)
Add a byte to the start of an array.
|
static byte[] |
prepend(byte[] array,
byte[]... other)
Add multiple byte arrays to the start of an array.
|
static char[] |
prepend(char[] array,
char... chars)
Add multiple chars to the start of an array.
|
static char[] |
prepend(char[] array,
char c)
Add a char to the start of an array.
|
static char[] |
prepend(char[] array,
char[]... other)
Add multiple char arrays to the start of an array.
|
static double[] |
prepend(double[] array,
double... doubles)
Add multiple doubles to the start of an array.
|
static double[] |
prepend(double[] array,
double d)
Add a double to the start of an array.
|
static double[] |
prepend(double[] array,
double[]... other)
Add multiple double arrays to the start of an array.
|
static float[] |
prepend(float[] array,
float... floats)
Add multiple floats to the start of an array.
|
static float[] |
prepend(float[] array,
float f)
Add a float to the start of an array.
|
static float[] |
prepend(float[] array,
float[]... other)
Add multiple float arrays to the start of an array.
|
static int[] |
prepend(int[] array,
int... ints)
Add multiple ints to the start of an array.
|
static int[] |
prepend(int[] array,
int i)
Add an int to the start of an array.
|
static int[] |
prepend(int[] array,
int[]... other)
Add multiple int arrays to the start of an array.
|
static long[] |
prepend(long[] array,
long... longs)
Add multiple longs to the start of an array.
|
static long[] |
prepend(long[] array,
long l)
Add a long to the start of an array.
|
static long[] |
prepend(long[] array,
long[]... other)
Add multiple long arrays to the start of an array.
|
static <O> O[] |
prepend(O[] array,
O... objects)
Add multiple objects to the start of an array.
|
static <O> O[] |
prepend(O[] array,
O o)
Add an object to the start of an array.
|
static <O> O[] |
prepend(O[] array,
O[]... other)
Add multiple object arrays to the start of an array.
|
static short[] |
prepend(short[] array,
short... shorts)
Add multiple shorts to the start of an array.
|
static short[] |
prepend(short[] array,
short s)
Add a short to the start of an array.
|
static short[] |
prepend(short[] array,
short[]... other)
Add multiple short arrays to the start of an array.
|
static byte[] |
remove(byte[] array,
byte b)
Remove a given byte from an array.
|
static char[] |
remove(char[] array,
char c)
Remove a given char from an array.
|
static double[] |
remove(double[] array,
double d)
Remove a given double from an array.
|
static float[] |
remove(float[] array,
float f)
Remove a given float from an array.
|
static int[] |
remove(int[] array,
int i)
Remove a given int from an array.
|
static long[] |
remove(long[] array,
long l)
Remove a given long from an array.
|
static <O> O[] |
remove(O[] array,
O o)
Remove a given object from an array.
|
static short[] |
remove(short[] array,
short s)
Remove a given short from an array.
|
static byte[] |
removeAt(byte[] array,
int index)
Remove a byte from an array at a specific index.
|
static byte[] |
removeAt(byte[] array,
int index,
int length)
Remove multiple bytes from an array at a specific index.
|
static char[] |
removeAt(char[] array,
int index)
Remove a char from an array at a specific index.
|
static char[] |
removeAt(char[] array,
int index,
int length)
Remove multiple chars from an array at a specific index.
|
static double[] |
removeAt(double[] array,
int index)
Remove a double from an array at a specific index.
|
static double[] |
removeAt(double[] array,
int index,
int length)
Remove multiple doubles from an array at a specific index.
|
static float[] |
removeAt(float[] array,
int index)
Remove a float from an array at a specific index.
|
static float[] |
removeAt(float[] array,
int index,
int length)
Remove multiple floats from an array at a specific index.
|
static int[] |
removeAt(int[] array,
int index)
Remove an int from an array at a specific index.
|
static int[] |
removeAt(int[] array,
int index,
int length)
Remove multiple ints from an array at a specific index.
|
static long[] |
removeAt(long[] array,
int index)
Remove a long from an array at a specific index.
|
static long[] |
removeAt(long[] array,
int index,
int length)
Remove multiple longs from an array at a specific index.
|
static <O> O[] |
removeAt(O[] array,
int index)
Remove an object from an array at a specific index.
|
static <O> O[] |
removeAt(O[] array,
int index,
int length)
Remove multiple objects from an array at a specific index.
|
static short[] |
removeAt(short[] array,
int index)
Remove a short from an array at a specific index.
|
static short[] |
removeAt(short[] array,
int index,
int length)
Remove multiple shorts from an array at a specific index.
|
static byte[] |
removeFirst(byte[] array)
Remove the first byte from an array.
|
static char[] |
removeFirst(char[] array)
Remove the first char from an array.
|
static double[] |
removeFirst(double[] array)
Remove the first double from an array.
|
static float[] |
removeFirst(float[] array)
Remove the first float from an array.
|
static int[] |
removeFirst(int[] array)
Remove the first int from an array.
|
static long[] |
removeFirst(long[] array)
Remove the first long from an array.
|
static <O> O[] |
removeFirst(O[] array)
Remove the first object from an array.
|
static short[] |
removeFirst(short[] array)
Remove the first short from an array.
|
static byte[] |
removeLast(byte[] array)
Remove the last byte from an array.
|
static char[] |
removeLast(char[] array)
Remove the last char from an array.
|
static double[] |
removeLast(double[] array)
Remove the last double from an array.
|
static float[] |
removeLast(float[] array)
Remove the last float from an array.
|
static int[] |
removeLast(int[] array)
Remove the last int from an array.
|
static long[] |
removeLast(long[] array)
Remove the last long from an array.
|
static <O> O[] |
removeLast(O[] array)
Remove the last object from an array.
|
static short[] |
removeLast(short[] array)
Remove the last short from an array.
|
public static int indexOf(byte[] array,
byte b)
array - The array to search inb - The byte to search forpublic static int indexOfLast(byte[] array,
byte b)
array - The array to search inb - The byte to search forpublic static int indexOf(byte[] array,
byte[] other)
array - The array to search inother - The byte array to search forpublic static byte[] add(byte[] array,
byte b)
array - The array to add the byte tob - The byte to addpublic static byte[] prepend(byte[] array,
byte b)
array - The array to add the byte tob - The byte to addpublic static byte[] add(byte[] array,
int index,
byte b)
array - The array to add the byte toindex - The index to add the byte atb - The byte to addpublic static byte[] add(byte[] array,
byte... bytes)
array - The array to add the bytes tobytes - The bytes to addpublic static byte[] prepend(byte[] array,
byte... bytes)
array - The array to add the bytes tobytes - The bytes to addpublic static byte[] add(byte[] array,
int index,
byte... bytes)
array - The array to add the bytes toindex - The index to add the bytes atbytes - The bytes to addpublic static byte[] add(byte[] array,
byte[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static byte[] prepend(byte[] array,
byte[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static byte[] add(byte[] array,
int index,
byte[]... other)
array - The array to add the other arrays toindex - The index to add the other arrays atother - The arrays to addpublic static byte[] remove(byte[] array,
byte b)
array - The array to remove the byte fromb - The byte to removepublic static byte[] removeFirst(byte[] array)
array - The array to remove the byte frompublic static byte[] removeLast(byte[] array)
array - The array to remove the byte frompublic static byte[] removeAt(byte[] array,
int index)
array - The array to remove the byte fromindex - The index to remove the byte atpublic static byte[] removeAt(byte[] array,
int index,
int length)
array - The array to remove the bytes fromindex - The index to remove the bytes atlength - The number of bytes to removepublic static int indexOf(short[] array,
short s)
array - The array to search ins - The short to search forpublic static int indexOfLast(short[] array,
short s)
array - The array to search ins - The short to search forpublic static int indexOf(short[] array,
short[] other)
array - The array to search inother - The short array to search forpublic static short[] add(short[] array,
short s)
array - The array to add the short tos - The short to addpublic static short[] prepend(short[] array,
short s)
array - The array to add the short tos - The short to addpublic static short[] add(short[] array,
int index,
short s)
array - The array to add the short toindex - The index to add the short ats - The short to addpublic static short[] add(short[] array,
short... shorts)
array - The array to add the shorts toshorts - The shorts to addpublic static short[] prepend(short[] array,
short... shorts)
array - The array to add the shorts toshorts - The shorts to addpublic static short[] add(short[] array,
int index,
short... shorts)
array - The array to add the shorts toindex - The index to add the shorts atshorts - The shorts to addpublic static short[] add(short[] array,
short[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static short[] prepend(short[] array,
short[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static short[] add(short[] array,
int index,
short[]... other)
array - The array to add the other arrays toindex - The index to add the other arrays atother - The arrays to addpublic static short[] remove(short[] array,
short s)
array - The array to remove the short froms - The short to removepublic static short[] removeFirst(short[] array)
array - The array to remove the short frompublic static short[] removeLast(short[] array)
array - The array to remove the short frompublic static short[] removeAt(short[] array,
int index)
array - The array to remove the short fromindex - The index to remove the short atpublic static short[] removeAt(short[] array,
int index,
int length)
array - The array to remove the shorts fromindex - The index to remove the shorts atlength - The number of shorts to removepublic static int indexOf(char[] array,
char c)
array - The array to search inc - The char to search forpublic static int indexOfLast(char[] array,
char c)
array - The array to search inc - The char to search forpublic static int indexOf(char[] array,
char[] other)
array - The array to search inother - The char array to search forpublic static char[] add(char[] array,
char c)
array - The array to add the char toc - The char to addpublic static char[] prepend(char[] array,
char c)
array - The array to add the char toc - The char to addpublic static char[] add(char[] array,
int index,
char c)
array - The array to add the char toindex - The index to add the char atc - The char to addpublic static char[] add(char[] array,
char... chars)
array - The array to add the chars tochars - The chars to addpublic static char[] prepend(char[] array,
char... chars)
array - The array to add the chars tochars - The chars to addpublic static char[] add(char[] array,
int index,
char... chars)
array - The array to add the chars toindex - The index to add the chars atchars - The chars to addpublic static char[] add(char[] array,
char[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static char[] prepend(char[] array,
char[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static char[] add(char[] array,
int index,
char[]... other)
array - The array to add the other arrays toindex - The index to add the other arrays atother - The arrays to addpublic static char[] remove(char[] array,
char c)
array - The array to remove the char fromc - The char to removepublic static char[] removeFirst(char[] array)
array - The array to remove the char frompublic static char[] removeLast(char[] array)
array - The array to remove the char frompublic static char[] removeAt(char[] array,
int index)
array - The array to remove the char fromindex - The index to remove the char atpublic static char[] removeAt(char[] array,
int index,
int length)
array - The array to remove the chars fromindex - The index to remove the chars atlength - The number of chars to removepublic static int indexOf(int[] array,
int i)
array - The array to search ini - The int to search forpublic static int indexOfLast(int[] array,
int i)
array - The array to search ini - The int to search forpublic static int indexOf(int[] array,
int[] other)
array - The array to search inother - The int array to search forpublic static int[] add(int[] array,
int i)
array - The array to add the int toi - The int to addpublic static int[] prepend(int[] array,
int i)
array - The array to add the int toi - The int to addpublic static int[] add(int[] array,
int index,
int i)
array - The array to add the int toindex - The index to add the int ati - The int to addpublic static int[] add(int[] array,
int... ints)
array - The array to add the ints toints - The ints to addpublic static int[] prepend(int[] array,
int... ints)
array - The array to add the ints toints - The ints to addpublic static int[] add(int[] array,
int index,
int... ints)
array - The array to add the ints toindex - The index to add the ints atints - The ints to addpublic static int[] add(int[] array,
int[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static int[] prepend(int[] array,
int[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static int[] add(int[] array,
int index,
int[]... other)
array - The array to add the other arrays toindex - The index to add the other arrays atother - The arrays to addpublic static int[] remove(int[] array,
int i)
array - The array to remove the int fromi - The int to removepublic static int[] removeFirst(int[] array)
array - The array to remove the int frompublic static int[] removeLast(int[] array)
array - The array to remove the int frompublic static int[] removeAt(int[] array,
int index)
array - The array to remove the int fromindex - The index to remove the int atpublic static int[] removeAt(int[] array,
int index,
int length)
array - The array to remove the ints fromindex - The index to remove the ints atlength - The number of ints to removepublic static int indexOf(long[] array,
long l)
array - The array to search inl - The long to search forpublic static int indexOfLast(long[] array,
long l)
array - The array to search inl - The long to search forpublic static int indexOf(long[] array,
long[] other)
array - The array to search inother - The long array to search forpublic static long[] add(long[] array,
long l)
array - The array to add the long tol - The long to addpublic static long[] prepend(long[] array,
long l)
array - The array to add the long tol - The long to addpublic static long[] add(long[] array,
int index,
long l)
array - The array to add the long toindex - The index to add the long atl - The long to addpublic static long[] add(long[] array,
long... longs)
array - The array to add the longs tolongs - The longs to addpublic static long[] prepend(long[] array,
long... longs)
array - The array to add the longs tolongs - The longs to addpublic static long[] add(long[] array,
int index,
long... longs)
array - The array to add the longs toindex - The index to add the longs atlongs - The longs to addpublic static long[] add(long[] array,
long[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static long[] prepend(long[] array,
long[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static long[] add(long[] array,
int index,
long[]... other)
array - The array to add the other arrays toindex - The index to add the other arrays atother - The arrays to addpublic static long[] remove(long[] array,
long l)
array - The array to remove the long froml - The long to removepublic static long[] removeFirst(long[] array)
array - The array to remove the long frompublic static long[] removeLast(long[] array)
array - The array to remove the long frompublic static long[] removeAt(long[] array,
int index)
array - The array to remove the long fromindex - The index to remove the long atpublic static long[] removeAt(long[] array,
int index,
int length)
array - The array to remove the longs fromindex - The index to remove the longs atlength - The number of longs to removepublic static int indexOf(float[] array,
float f)
array - The array to search inf - The float to search forpublic static int indexOfLast(float[] array,
float f)
array - The array to search inf - The float to search forpublic static int indexOf(float[] array,
float[] other)
array - The array to search inother - The float array to search forpublic static float[] add(float[] array,
float f)
array - The array to add the float tof - The float to addpublic static float[] prepend(float[] array,
float f)
array - The array to add the float tof - The float to addpublic static float[] add(float[] array,
int index,
float f)
array - The array to add the float toindex - The index to add the float atf - The float to addpublic static float[] add(float[] array,
float... floats)
array - The array to add the floats tofloats - The floats to addpublic static float[] prepend(float[] array,
float... floats)
array - The array to add the floats tofloats - The floats to addpublic static float[] add(float[] array,
int index,
float... floats)
array - The array to add the floats toindex - The index to add the floats atfloats - The floats to addpublic static float[] add(float[] array,
float[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static float[] prepend(float[] array,
float[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static float[] add(float[] array,
int index,
float[]... other)
array - The array to add the other arrays toindex - The index to add the other arrays atother - The arrays to addpublic static float[] remove(float[] array,
float f)
array - The array to remove the float fromf - The float to removepublic static float[] removeFirst(float[] array)
array - The array to remove the float frompublic static float[] removeLast(float[] array)
array - The array to remove the float frompublic static float[] removeAt(float[] array,
int index)
array - The array to remove the float fromindex - The index to remove the float atpublic static float[] removeAt(float[] array,
int index,
int length)
array - The array to remove the floats fromindex - The index to remove the floats atlength - The number of floats to removepublic static int indexOf(double[] array,
double d)
array - The array to search ind - The double to search forpublic static int indexOfLast(double[] array,
double d)
array - The array to search ind - The double to search forpublic static int indexOf(double[] array,
double[] other)
array - The array to search inother - The double array to search forpublic static double[] add(double[] array,
double d)
array - The array to add the double tod - The double to addpublic static double[] prepend(double[] array,
double d)
array - The array to add the double tod - The double to addpublic static double[] add(double[] array,
int index,
double d)
array - The array to add the double toindex - The index to add the double atd - The double to addpublic static double[] add(double[] array,
double... doubles)
array - The array to add the doubles todoubles - The doubles to addpublic static double[] prepend(double[] array,
double... doubles)
array - The array to add the doubles todoubles - The doubles to addpublic static double[] add(double[] array,
int index,
double... doubles)
array - The array to add the doubles toindex - The index to add the doubles atdoubles - The doubles to addpublic static double[] add(double[] array,
double[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static double[] prepend(double[] array,
double[]... other)
array - The array to add the other arrays toother - The arrays to addpublic static double[] add(double[] array,
int index,
double[]... other)
array - The array to add the other arrays toindex - The index to add the other arrays atother - The arrays to addpublic static double[] remove(double[] array,
double d)
array - The array to remove the double fromd - The double to removepublic static double[] removeFirst(double[] array)
array - The array to remove the double frompublic static double[] removeLast(double[] array)
array - The array to remove the double frompublic static double[] removeAt(double[] array,
int index)
array - The array to remove the double fromindex - The index to remove the double atpublic static double[] removeAt(double[] array,
int index,
int length)
array - The array to remove the doubles fromindex - The index to remove the doubles atlength - The number of doubles to removepublic static <O> int indexOf(O[] array,
O o)
O - The type of the arrayarray - The array to search ino - The object to search forpublic static <O> int indexOfLast(O[] array,
O o)
O - The type of the arrayarray - The array to search ino - The object to search forpublic static <O> int indexOf(O[] array,
O[] other)
O - The type of the arrayarray - The array to search inother - The object array to search forpublic static <O> O[] add(O[] array,
O o)
O - The type of the arrayarray - The array to add the object too - The object to addpublic static <O> O[] prepend(O[] array,
O o)
O - The type of the arrayarray - The array to add the object too - The object to addpublic static <O> O[] add(O[] array,
int index,
O o)
O - The type of the arrayarray - The array to add the object toindex - The index to add the object ato - The object to add@SafeVarargs
public static <O> O[] add(O[] array,
O... objects)
O - The type of the arrayarray - The array to add the objects toobjects - The objects to add@SafeVarargs
public static <O> O[] prepend(O[] array,
O... objects)
O - The type of the arrayarray - The array to add the objects toobjects - The objects to add@SafeVarargs
public static <O> O[] add(O[] array,
int index,
O... objects)
O - The type of the arrayarray - The array to add the objects toindex - The index to add the objects atobjects - The objects to add@SafeVarargs
public static <O> O[] add(O[] array,
O[]... other)
O - The type of the arrayarray - The array to add the other arrays toother - The arrays to add@SafeVarargs
public static <O> O[] prepend(O[] array,
O[]... other)
O - The type of the arrayarray - The array to add the other arrays toother - The arrays to add@SafeVarargs
public static <O> O[] add(O[] array,
int index,
O[]... other)
O - The type of the arrayarray - The array to add the other arrays toindex - The index to add the other arrays atother - The arrays to addpublic static <O> O[] remove(O[] array,
O o)
O - The type of the arrayarray - The array to remove the object fromo - The object to removepublic static <O> O[] removeFirst(O[] array)
O - The type of the arrayarray - The array to remove the object frompublic static <O> O[] removeLast(O[] array)
O - The type of the arrayarray - The array to remove the object frompublic static <O> O[] removeAt(O[] array,
int index)
O - The type of the arrayarray - The array to remove the object fromindex - The index to remove the object atpublic static <O> O[] removeAt(O[] array,
int index,
int length)
O - The type of the arrayarray - The array to remove the objects fromindex - The index to remove the objects atlength - The number of objects to remove