public class Arrays
extends java.lang.Object
| Constructor and Description |
|---|
Arrays() |
| Modifier and Type | Method and Description |
|---|---|
static void |
fill(byte[] array,
byte x)
Fill an array with the given value.
|
static void |
fill(char[] array,
char x)
Fill an array with the given value.
|
static void |
fill(int[] array,
int x)
Fill an array with the given value.
|
static void |
fillByte(byte[] array,
byte x)
Fill an array with the given value.
|
static void |
fillInt(int[] array,
int x)
Fill an array with the given value.
|
public static void fill(char[] array,
char x)
array - the arrayx - the valuepublic static void fill(byte[] array,
byte x)
array - the arrayx - the valuepublic static void fill(int[] array,
int x)
array - the arrayx - the valuepublic static void fillByte(byte[] array,
byte x)
array - the arrayx - the valuepublic static void fillInt(int[] array,
int x)
array - the arrayx - the value