| 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 boolean | |
| public static void | |
| public static void | |
| public static boolean[] | |
| public static byte[] | |
| public static char[] | |
| public static int[] | |
| public static long[] | |
| public static short[] | |
| public static BigInteger[] | |
| public static byte[] | |
| public static long[] | |
| public static byte[][] | |
| public static byte[][][] | |
| public static int | |
| public static byte[] | |
| public static short[] | |
| 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 | Returns: true if arrays equal, false otherwise.first array expected, char[] second array supplied)A constant time equals comparison - does not terminate early if comparison fails. |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean[] | |
| public static byte[] | |
| public static char[] | |
| public static int[] | |
| public static long[] | |
| public static short[] | |
| public static BigInteger[] | |
| public static boolean[] | |
| public static byte[] | Returns: a new byte array containing the range given.the array from which the data is to be copied. original, 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 array. |
| public static char[] | |
| public static int[] | |
| public static long[] | |
| public static short[] | |
| 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 | |
| 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 boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static byte[] | |
| public static short[] | |
| public static int[] | |
| public static byte[] | |
| public static int[] | |
| public static void | |
| public static byte[] | |
| public static void | |
| public static short[] | |
| 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(byte[] a, byte[] b) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(byte[] a, int aFromIndex, int aToIndex, byte[] b, int bFromIndex, int bToIndex) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(char[] a, char[] 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) | |
| areEqual | back to summary |
|---|---|
| public static boolean areEqual(short[] a, short[] b) | |
| clear | back to summary |
|---|---|
| public static void clear(byte[] data) Fill input array by zeros
| |
| clear | back to summary |
|---|---|
| public static void clear(int[] data) | |
| clone | back to summary |
|---|---|
| public static boolean[] clone(boolean[] data) | |
| 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 int[] clone(int[] data) | |
| clone | back to summary |
|---|---|
| public static long[] clone(long[] data) | |
| clone | back to summary |
|---|---|
| public static short[] clone(short[] data) | |
| clone | back to summary |
|---|---|
| public static BigInteger[] clone(BigInteger[] data) | |
| clone | back to summary |
|---|---|
| public static byte[] clone(byte[] data, byte[] existing) | |
| clone | back to summary |
|---|---|
| public static long[] clone(long[] data, long[] existing) | |
| clone | back to summary |
|---|---|
| public static byte[][] clone(byte[][] data) | |
| clone | back to summary |
|---|---|
| public static byte[][][] clone(byte[][][] 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 short[] concatenate(short[] a, short[] 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.
| |
| constantTimeAreEqual | back to summary |
|---|---|
| public static boolean constantTimeAreEqual(int len, byte[] a, int aOff, byte[] b, int bOff) | |
| constantTimeAreEqual | back to summary |
|---|---|
| public static boolean constantTimeAreEqual(char[] expected, char[] supplied) A constant time equals comparison - does not terminate early if comparison fails. For best results always pass the expected value as the first parameter.
| |
| contains | back to summary |
|---|---|
| public static boolean contains(boolean[] a, boolean val) | |
| contains | back to summary |
|---|---|
| public static boolean contains(byte[] a, byte val) | |
| contains | back to summary |
|---|---|
| public static boolean contains(char[] a, char val) | |
| contains | back to summary |
|---|---|
| public static boolean contains(int[] a, int val) | |
| contains | back to summary |
|---|---|
| public static boolean contains(long[] a, long val) | |
| contains | back to summary |
|---|---|
| public static boolean contains(short[] a, short val) | |
| copyOf | back to summary |
|---|---|
| public static boolean[] copyOf(boolean[] original, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static byte[] copyOf(byte[] original, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static char[] copyOf(char[] original, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static int[] copyOf(int[] original, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static long[] copyOf(long[] original, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static short[] copyOf(short[] original, int newLength) | |
| copyOf | back to summary |
|---|---|
| public static BigInteger[] copyOf(BigInteger[] original, int newLength) | |
| copyOfRange | back to summary |
|---|---|
| public static boolean[] copyOfRange(boolean[] original, int from, int to) | |
| copyOfRange | back to summary |
|---|---|
| public static byte[] copyOfRange(byte[] original, int from, int to) Make a copy of a range of bytes from the passed in array. The range can extend beyond the end of the input array, in which case the returned array will be padded with zeroes.
| |
| copyOfRange | back to summary |
|---|---|
| public static char[] copyOfRange(char[] original, int from, int to) | |
| copyOfRange | back to summary |
|---|---|
| public static int[] copyOfRange(int[] original, int from, int to) | |
| copyOfRange | back to summary |
|---|---|
| public static long[] copyOfRange(long[] original, int from, int to) | |
| copyOfRange | back to summary |
|---|---|
| public static short[] copyOfRange(short[] original, int from, int to) | |
| copyOfRange | back to summary |
|---|---|
| public static BigInteger[] copyOfRange(BigInteger[] original, int from, int to) | |
| fill | back to summary |
|---|---|
| public static void fill(boolean[] a, boolean val) | |
| fill | back to summary |
|---|---|
| public static void fill(boolean[] a, int fromIndex, int toIndex, boolean val) | |
| fill | back to summary |
|---|---|
| public static void fill(byte[] a, byte val) | |
| fill | back to summary |
|---|---|
| public static void fill(byte[] a, int fromIndex, int toIndex, byte val) | |
| fill | back to summary |
|---|---|
| public static void fill(char[] a, char val) | |
| fill | back to summary |
|---|---|
| public static void fill(char[] a, int fromIndex, int toIndex, char val) | |
| fill | back to summary |
|---|---|
| public static void fill(int[] a, int val) | |
| fill | back to summary |
|---|---|
| public static void fill(int[] a, int fromIndex, int toIndex, int val) | |
| fill | back to summary |
|---|---|
| public static void fill(long[] a, long val) | |
| fill | back to summary |
|---|---|
| public static void fill(long[] a, int fromIndex, int toIndex, long val) | |
| fill | back to summary |
|---|---|
| public static void fill(Object[] a, Object val) | |
| fill | back to summary |
|---|---|
| public static void fill(Object[] a, int fromIndex, int toIndex, Object val) | |
| fill | back to summary |
|---|---|
| public static void fill(short[] a, short val) | |
| fill | back to summary |
|---|---|
| public static void fill(short[] a, int fromIndex, int toIndex, short val) | |
| 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) | |
| isNullOrContainsNull | back to summary |
|---|---|
| public static boolean isNullOrContainsNull(Object[] array) | |
| isNullOrEmpty | back to summary |
|---|---|
| public static boolean isNullOrEmpty(byte[] array) | |
| isNullOrEmpty | back to summary |
|---|---|
| public static boolean isNullOrEmpty(int[] array) | |
| isNullOrEmpty | back to summary |
|---|---|
| public static boolean isNullOrEmpty(Object[] array) | |
| 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) | |
| reverse | back to summary |
|---|---|
| public static void reverse(byte[] input, byte[] output) | |
| reverseInPlace | back to summary |
|---|---|
| public static byte[] reverseInPlace(byte[] a) | |
| reverseInPlace | back to summary |
|---|---|
| public static void reverseInPlace(byte[] a, int aOff, int aLen) | |
| reverseInPlace | back to summary |
|---|---|
| public static short[] reverseInPlace(short[] a) | |
| reverseInPlace | back to summary |
|---|---|
| public static int[] reverseInPlace(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 | |