| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static byte[] | |
| public static short[] | |
| public static int[] | |
| public static String[] | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static void | |
| public static byte[] | |
| public static char[] | |
| public static byte[] | |
| public static byte[][] | |
| public static byte[][][] | |
| public static int[] | |
| public static long[] | |
| public static long[] | |
| public static short[] | |
| public static BigInteger[] | |
| public static int | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static byte[] | |
| public static int[] | |
| public static boolean | Returns: true if arrays equal, false otherwise.first array expected, byte[] second array supplied)A constant time equals comparison - does not terminate early if test will fail. |
| public static boolean | |
| public static boolean | |
| public static byte[] | |
| public static char[] | |
| public static int[] | |
| public static long[] | |
| public static BigInteger[] | |
| public static byte[] | Returns: a new byte array containing the range given.the array from which the data is to be copied. data, int the start index at which the copying should take place. from, int the final index of the range (exclusive). to)Make a copy of a range of bytes from the passed in data array. |
| public static int[] | |
| public static long[] | |
| public static BigInteger[] | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| private static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static byte[] | |
| public static short[] | |
| public static int[] | |
| public static byte[] | |
| public static int[] |
| Arrays | back to summary |
|---|---|
| private Arrays() | |
| append | back to summary |
|---|---|
| public static byte[] append(byte[] a, byte b) | |
| append | back to summary |
|---|---|
| public static short[] append(short[] a, short b) | |
| append | back to summary |
|---|---|
| public static int[] append(int[] a, int b) | |
| append | back to summary |
|---|---|
| public static String[] append(String[] a, String b) | |
| areAllZeroes | back to summary |
|---|---|
| public static boolean areAllZeroes(byte[] buf, int off, int len) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(boolean[] a, boolean[] b) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(char[] a, char[] b) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(byte[] a, byte[] b) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(short[] a, short[] b) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(int[] a, int[] b) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(long[] a, long[] b) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(Object[] a, Object[] b) | |
| clear | back to summary |
|---|---|
| public static void clear(byte[] array) Fill input array by zeros
| |
| clone | back to summary |
|---|---|
| public static byte[] clone(byte[] data) | |
| clone | back to summary |
|---|---|
| public static char[] clone(char[] data) | |
| clone | back to summary |
|---|---|
| public static byte[] clone(byte[] data, byte[] existing) | |
| clone | back to summary |
|---|---|
| public static byte[][] clone(byte[][] data) | |
| clone | back to summary |
|---|---|
| public static byte[][][] clone(byte[][][] data) | |
| clone | back to summary |
|---|---|
| public static int[] clone(int[] data) | |
| clone | back to summary |
|---|---|
| public static long[] clone(long[] data) | |
| clone | back to summary |
|---|---|
| public static long[] clone(long[] data, long[] existing) | |
| clone | back to summary |
|---|---|
| public static short[] clone(short[] data) | |
| clone | back to summary |
|---|---|
| public static BigInteger[] clone(BigInteger[] data) | |
| compareUnsigned | back to summary |
|---|---|
| public static int compareUnsigned(byte[] a, byte[] b) | |
| concatenate | back to summary |
|---|---|
| public static byte[] concatenate(byte[] a, byte[] b) | |
| concatenate | back to summary |
|---|---|
| public static byte[] concatenate(byte[] a, byte[] b, byte[] c) | |
| concatenate | back to summary |
|---|---|
| public static byte[] concatenate(byte[] a, byte[] b, byte[] c, byte[] d) | |
| concatenate | back to summary |
|---|---|
| public static byte[] concatenate(byte[][] arrays) | |
| concatenate | back to summary |
|---|---|
| public static int[] concatenate(int[] a, int[] b) | |
| constantTimeAreEqual | back to summary |
|---|---|
| public static boolean constantTimeAreEqual(byte[] expected, byte[] supplied) A constant time equals comparison - does not terminate early if test will fail. For best results always pass the expected value as the first parameter.
| |
| contains | back to summary |
|---|---|
| public static boolean contains(short[] a, short n) | |
| contains | back to summary |
|---|---|
| public static boolean contains(int[] a, int n) | |
| copyOf | back to summary |
|---|---|
| public static byte[] copyOf(byte[] data, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static char[] copyOf(char[] data, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static int[] copyOf(int[] data, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static long[] copyOf(long[] data, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static BigInteger[] copyOf(BigInteger[] data, int newLength) | |
| copyOfRange | back to summary |
|---|---|
| public static byte[] copyOfRange(byte[] data, int from, int to) Make a copy of a range of bytes from the passed in data array. The range can extend beyond the end of the input array, in which case the return array will be padded with zeroes.
| |
| copyOfRange | back to summary |
|---|---|
| public static int[] copyOfRange(int[] data, int from, int to) | |
| copyOfRange | back to summary |
|---|---|
| public static long[] copyOfRange(long[] data, int from, int to) | |
| copyOfRange | back to summary |
|---|---|
| public static BigInteger[] copyOfRange(BigInteger[] data, int from, int to) | |
| fill | back to summary |
|---|---|
| public static void fill(byte[] array, byte value) | |
| fill | back to summary |
|---|---|
| public static void fill(byte[] array, int start, int finish, byte value) | |
| fill | back to summary |
|---|---|
| public static void fill(char[] array, char value) | |
| fill | back to summary |
|---|---|
| public static void fill(long[] array, long value) | |
| fill | back to summary |
|---|---|
| public static void fill(short[] array, short value) | |
| fill | back to summary |
|---|---|
| public static void fill(int[] array, int value) | |
| fill | back to summary |
|---|---|
| public static void fill(byte[] array, int out, byte value) | |
| fill | back to summary |
|---|---|
| public static void fill(int[] array, int out, int value) | |
| fill | back to summary |
|---|---|
| public static void fill(short[] array, int out, short value) | |
| fill | back to summary |
|---|---|
| public static void fill(long[] array, int out, long value) | |
| getLength | back to summary |
|---|---|
| private static int getLength(int from, int to) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(byte[] data) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(byte[] data, int off, int len) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(char[] data) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(int[][] ints) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(int[] data) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(int[] data, int off, int len) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(long[] data) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(long[] data, int off, int len) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(short[][][] shorts) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(short[][] shorts) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(short[] data) | |
| hashCode | back to summary |
|---|---|
| public static int hashCode(Object[] data) | |
| prepend | back to summary |
|---|---|
| public static byte[] prepend(byte[] a, byte b) | |
| prepend | back to summary |
|---|---|
| public static short[] prepend(short[] a, short b) | |
| prepend | back to summary |
|---|---|
| public static int[] prepend(int[] a, int b) | |
| reverse | back to summary |
|---|---|
| public static byte[] reverse(byte[] a) | |
| reverse | back to summary |
|---|---|
| public static int[] reverse(int[] a) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public T | |
| public void | remove()
Overrides default java. |
| dataArray | back to summary |
|---|---|
| private final T[] dataArray | |
| position | back to summary |
|---|---|
| private int position | |
| Iterator | back to summary |
|---|---|
| public Iterator(T[] dataArray) Base constructor. Note the array is not cloned, changes to it will affect the values returned by next().
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public T next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the | |