@GwtCompatible
public class ArrayLiterals
extends java.lang.Object
| Constructor and Description |
|---|
ArrayLiterals() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
newArrayOfSize(int size) |
static <T> T[][] |
newArrayOfSize(int size0,
int size1) |
static boolean[] |
newBooleanArrayOfSize(int size) |
static boolean[][] |
newBooleanArrayOfSize(int size0,
int size1) |
static byte[] |
newByteArrayOfSize(int size) |
static byte[][] |
newByteArrayOfSize(int size0,
int size1) |
static char[] |
newCharArrayOfSize(int size) |
static char[][] |
newCharArrayOfSize(int size0,
int size1) |
static double[] |
newDoubleArrayOfSize(int size) |
static double[][] |
newDoubleArrayOfSize(int size0,
int size1) |
static float[] |
newFloatArrayOfSize(int size) |
static float[][] |
newFloatArrayOfSize(int size0,
int size1) |
static int[] |
newIntArrayOfSize(int size) |
static int[][] |
newIntArrayOfSize(int size0,
int size1) |
static long[] |
newLongArrayOfSize(int size) |
static long[][] |
newLongArrayOfSize(int size0,
int size1) |
static short[] |
newShortArrayOfSize(int size) |
static short[][] |
newShortArrayOfSize(int size0,
int size1) |
@Pure public static <T> T[][] newArrayOfSize(int size0, int size1)
size0 - the first size for the array to be createdsize1 - the second size for the array to be created@Pure public static <T> T[] newArrayOfSize(int size)
size - the size for the array to be created@Pure public static char[][] newCharArrayOfSize(int size0, int size1)
size0 - the first size for the array to be createdsize1 - the second size for the array to be created@Pure public static char[] newCharArrayOfSize(int size)
size - the size for the array to be created@Pure public static int[][] newIntArrayOfSize(int size0, int size1)
size0 - the first size for the array to be createdsize1 - the second size for the array to be created@Pure public static int[] newIntArrayOfSize(int size)
size - the size for the array to be created@Pure public static boolean[][] newBooleanArrayOfSize(int size0, int size1)
size0 - the first size for the array to be createdsize1 - the second size for the array to be created@Pure public static boolean[] newBooleanArrayOfSize(int size)
size - the size for the array to be created@Pure public static short[][] newShortArrayOfSize(int size0, int size1)
size0 - the first size for the array to be createdsize1 - the second size for the array to be created@Pure public static short[] newShortArrayOfSize(int size)
size - the size for the array to be created@Pure public static long[][] newLongArrayOfSize(int size0, int size1)
size0 - the first size for the array to be createdsize1 - the second size for the array to be created@Pure public static long[] newLongArrayOfSize(int size)
size - the size for the array to be created@Pure public static float[][] newFloatArrayOfSize(int size0, int size1)
size0 - the first size for the array to be createdsize1 - the second size for the array to be created@Pure public static float[] newFloatArrayOfSize(int size)
size - the size for the array to be created@Pure public static double[][] newDoubleArrayOfSize(int size0, int size1)
size0 - the first size for the array to be createdsize1 - the second size for the array to be created@Pure public static double[] newDoubleArrayOfSize(int size)
size - the size for the array to be created@Pure public static byte[][] newByteArrayOfSize(int size0, int size1)
size0 - the first size for the array to be createdsize1 - the second size for the array to be created@Pure public static byte[] newByteArrayOfSize(int size)
size - the size for the array to be created