| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean[] | Returns: the given array.the array to be filled (may be null). a, final boolean the value to be stored in all elements of the array. val)Fills and returns the given array, assigning the given |
| public static byte[] | Returns: the given array.the array to be filled (may be null). a, final byte the value to be stored in all elements of the array. val)Fills and returns the given array, assigning the given |
| public static char[] | Returns: the given array.the array to be filled (may be null). a, final char the value to be stored in all elements of the array. val)Fills and returns the given array, assigning the given |
| public static double[] | Returns: the given array.the array to be filled (may be null). a, final double the value to be stored in all elements of the array. val)Fills and returns the given array, assigning the given |
| public static float[] | Returns: the given array.the array to be filled (may be null). a, final float the value to be stored in all elements of the array. val)Fills and returns the given array, assigning the given |
| public static int[] | Returns: the given array.the array to be filled (may be null). a, final int the value to be stored in all elements of the array. val)Fills and returns the given array, assigning the given |
| public static long[] | Returns: the given array.the array to be filled (may be null). a, final long the value to be stored in all elements of the array. val)Fills and returns the given array, assigning the given |
| public static short[] | Returns: the given array.the array to be filled (may be null). a, final short the value to be stored in all elements of the array. val)Fills and returns the given array, assigning the given |
| public static < type of elements of the array. T, The kind of thrown exception or error. E extends Throwable> T[] | Returns: the input arrayarray to be initialized. array, final FailableIntFunction<? extends T, E> a function accepting an index and producing the desired value for that position. generator)Fills and returns the given array, using the provided generator supplier to compute each element. |
| public static < the array type. T> T[] | Returns: the given array.the array to be filled (may be null). a, final T the value to be stored in all elements of the array. val)Fills and returns the given array, assigning the given |
| ArrayFill | back to summary |
|---|---|
| private ArrayFill() | |
| fill | back to summary |
|---|---|
| public static boolean[] fill(final boolean[] a, final boolean val) Fills and returns the given array, assigning the given
| |
| fill | back to summary |
|---|---|
| public static byte[] fill(final byte[] a, final byte val) Fills and returns the given array, assigning the given
| |
| fill | back to summary |
|---|---|
| public static char[] fill(final char[] a, final char val) Fills and returns the given array, assigning the given
| |
| fill | back to summary |
|---|---|
| public static double[] fill(final double[] a, final double val) Fills and returns the given array, assigning the given
| |
| fill | back to summary |
|---|---|
| public static float[] fill(final float[] a, final float val) Fills and returns the given array, assigning the given
| |
| fill | back to summary |
|---|---|
| public static int[] fill(final int[] a, final int val) Fills and returns the given array, assigning the given
| |
| fill | back to summary |
|---|---|
| public static long[] fill(final long[] a, final long val) Fills and returns the given array, assigning the given
| |
| fill | back to summary |
|---|---|
| public static short[] fill(final short[] a, final short val) Fills and returns the given array, assigning the given
| |
| fill | back to summary |
|---|---|
| public static <T, E extends Throwable> T[] fill(final T[] array, final FailableIntFunction<? extends T, E> generator) throws FailableIntFunction:E Fills and returns the given array, using the provided generator supplier to compute each element. Like
If the generator supplier throws an exception, it is relayed to the caller and the array is left in an indeterminate state.
| |
| fill | back to summary |
|---|---|
| public static <T> T[] fill(final T[] a, final T val) Fills and returns the given array, assigning the given
| |