| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final IntValueHashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | adjustArray(int
class type of the array type, Object the array array, int count of elements of array in use usedElements, int point at which to add or remove elements index, int number of elements to add or remove count)Moves the contents of an array to allow both addition and removal of elements. |
| public static boolean | Returns: booleanint[] arra, boolean[] boolean[] arrb)Returns true if all indexes and no other positions are true in arrb. |
| public static boolean | |
| public static boolean | Returns: booleanint[] arra, int[] int[] arrb)Returns true if arra and arrb contain the same set of integers, not necessarily in the same order. |
| public static int[] | Returns: int[]int[] source, int int start, int int count)Returns a range of elements of source from start to end of the array. |
| public static int[] | Returns: int[]boolean[] arrb)Set elements of arrb true if their indexes appear in arrb. |
| public static char[] | |
| public static char[] | |
| public static long | |
| public static int | Returns: intint a, int int b)a and b must be both positive returns (a / b) or (a / b) + 1 if remainder is larger than zero |
| public static long | |
| public static byte[] | |
| public static byte[] | |
| public static void | clearArray(int
int type, Object Object data, int int from, int int to)Clears an area of the given array of the given type. |
| public static int[] | Returns: int[] common indexes ornull if there is no overlap.int[] first column indexes arra, int[] int[] second column indexes arrb)Returns an int[] containing elements shared between the two arrays arra and arrb. |
| public static int | |
| public static int | |
| public static int[] | Returns: int[]int[] arra, int[] int[] arrb)Returns an array that contains all the elements of the two arrays. |
| public static boolean | Returns: booleanObject[] arra, Object[] Object[] arrb)returns true if arra contains all elements of arrb |
| public static boolean | Returns: booleanint[] arra, int[] int[] arrb)returns true if arra contains all elements of arrb |
| public static boolean | Returns: booleanint[] arra, int[] int[] arrb)returns true if arra contains all elements of arrb at its start |
| public static boolean | Returns: booleanboolean[] arra, boolean[] boolean[] arrb)Return true if for each true element in arrb, the corresponding element in arra is true |
| public static boolean | Returns: booleanObject[] arra, Object[] Object[] arrb)returns true if arra contains any element of arrb |
| public static boolean | Returns: booleanbyte[] arra, int int start, byte[] byte[] arrb)Returns true if arra from position start contains all elements of arrb in sequential order. |
| public static boolean | Returns: booleanchar[] arra, int int start, char[] char[] arrb)Returns true if arra from position start contains all elements of arrb in sequential order. |
| public static void | copyAdjustArray(Object
Object source, Object Object dest, Object Object addition, int int colindex, int int adjust)For arrays of Objects or primitives. |
| public static void | copyAdjustArray(Object[]
Object[] source, Object[] Object[] dest, int[] int[] colindex, int int adjust)Similar to single slot adjusted copy, with multiple slots added or removed. |
| public static void | |
| public static int | Returns: intlong sourceOffset, byte[] byte[] source, int int sourceOff, int int sourceLength, long long destOffset, byte[] byte[] dest, int int destLength)Byte arrays source and dest each begin at an offset in the common space. |
| public static byte[] | Returns: byte[]byte[] source, byte[] byte[] dest, int int destOffset)Copy the source to dest, returning dest or an enlarged array of result is larger than dest. |
| public static void | |
| public static int | Returns: int number of elements shared byarra and arrbint[] first array of column indexes. arra, int[] int[] second array of column indexes arrb)Returns the number of elements shared between the two arrays containing sets. |
| public static int | |
| public static int | Returns: intbyte[] arra, int int start, byte[] byte[] arrb)Returns the count of elements in arra from position start that are not among the elements of arrb. |
| public static int | Returns: intbyte[] arra, int int start, byte[] byte[] arrb)Returns the count of elements in arra from position start that are sequentially equal to the elements of arrb. |
| public static int | Returns: intchar[] arra, int int start, char[] char[] arrb)Returns the count of elements in arra from position start that are sequentially equal to the elements of arrb. |
| public static int | Returns: intint[] arra, int int start, int[] int[] arrb)Returns the count of elements in arra from position start that are sequentially equal to the elements of arrb. |
| public static int | Returns: intint[] arra, int int value)Returns the count of elements in arra that are smaller than the value. |
| public static int | Returns: intint[] arra, int int value)Returns the count of elements in arra that are smaller/equal than the value. |
| public static int | Returns: intbyte[] arra, int int start, byte[] byte[] arrb)Returns the count of elements in arra from position start that are among the elements of arrb. |
| public static int | Returns: intint[] arra, boolean[] boolean[] arrb)Return array of indexes of boolean elements that are true. |
| public static int | |
| public static Object | |
| public static int[] | Returns: int[]int[] source, int[] int[] other)Returns an array containing the elements of source except any element shared with the other. |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static int | |
| public static int | |
| public static int | Returns: intint[] array, int int count, int int value)Finds index of value in the first count elements of small array. |
| public static int | |
| public static int | |
| public static int | |
| public static int | Returns: intbyte[] arra, int int start, int int limit, byte[] byte[] arrb)Returns the index of the first occurrence of arrb in arra. |
| public static int | Returns: intbyte[] arra, int int start, int int limit, int int b, int int c)Returns the index of b or c in arra. |
| public static int | Returns: intbyte[] arra, int int start, int int limit, byte[] byte[] byteSet)Returns an index into arra (or -1) where the character is in the byteSet byte array. |
| public static int | Returns: intint[] array, int int value)Finds the first element of the array that is not equal to the given value. |
| public static int | Returns: intbyte[] arra, int int start, int int limit, byte[] byte[] byteSet)Returns an index into arra (or -1) where the character is not in the charset byte array. |
| public static long | Returns: longlong value, long long unit)uses 2**scale form and returns a multiple of unit that is larger or equal to value |
| public static long | Returns: longlong value, int int scale)uses 2**scale form and returns a multiple of this that is larger or equal to value |
| public static long | Returns: longlong value)returns the smallest value that is a power of 2 and larger or equal to value |
| pack-priv static int | Returns: intClass cla)Returns a distinct int code for each primitive type and for all Object types. |
| public static int | Returns: intint n)returns the largest value that is 0 or a power of 2 and is smaller or equal to n |
| public static int | Returns: intint n)returns the log2 of largest value that is 0 or a power of 2 and is smaller or equal to n |
| public static boolean | |
| public static boolean | |
| public static boolean | Returns: booleanint[] arra, int[] int[] arrb)Returns true if arra and arrb share any element. |
| public static boolean | Returns: booleanint[] arra, int[] int[] arrb, int int count)Returns true if the first count elements of arra and arrb are identical subarrays of integers |
| public static boolean | Returns: booleanObject[] arra, Object[] Object[] arrb, int int count)Returns true if the first count elements of arra and arrb are identical subarrays of Objects |
| public static boolean | Returns: booleanint[] arra, int[] int[] arrb, int int count)Returns true if the first count elements of arra and arrb are identical sets of integers (not necessarily in the same order). |
| public static void | intIndexesToBooleanArray(int[]
int[] arra, boolean[] boolean[] arrb)Set elements of arrb true if their indexes appear in arrb. |
| public static boolean | |
| public static boolean | Returns: booleanchar ch, char[] char[] array)Returns true if char argument is in array. |
| public static boolean | |
| public static void | |
| public static void | |
| public static void | projectRow(Object[]
the source array source, int[] the list of indexes into source columnMap, Object[] the destination array target)Copies some elements of source into target by using columnMap as the list of indexes into source. |
| public static void | |
| public static void | projectRowReverse(Object[]
the target array target, int[] the list of indexes into row columnMap, Object[] the source array source)As above but copies in reverse direction. |
| public static void | |
| public static Object | Returns: ObjectObject source, int int newsize)Returns a new array of given size, containing as many elements of the original array as it can hold. |
| public static Object | Returns: ObjectObject source, int int newsize)Returns the given array if newsize is the same as existing. |
| public static void | |
| public static < type of array element T> T[] | Returns: T[]T[] source, T element to append to array addition)Returns a new array containing the elements of parameter source with an added element at the end. |
| public static Object | Returns: ObjectObject source, Object Object addition, int int colindex, int int adjust)Returns an array containing the elements of parameter source, with one element removed or added. |
| public static int[] | Returns: new, adjusted arraythe source array colarr, int index at which to perform adjustment colindex, int +1, 0 or -1 adjust)Returns a new array with the elements in collar adjusted to reflect changes at colindex. |
| public static int[] | Returns: int[]int[] colarr, int[] int[] colindex, int int adjust)similar to the function with single colindex, but with multiple adjustments. |
| public static byte[] | |
| public static int[] | Returns: int[]int[] containing unique vlaues arra, int[] int[] containing unique values arrb)Returns an array that contains all the elements of the two arrays. |