public final class Activator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T[] |
CreateArray(java.lang.Class<T> type,
int size)
Creates an array
T[] of a specified size. |
static <T> T[] |
CreateArray(T elem,
int size)
Creates an array
T[] of a specified size that is
filled with a specified element. |
static <T> T[][] |
CreateArray2D(java.lang.Class<T> type,
int[] dimensions)
Creates an array
T[][] of the specified dimensions. |
static <T> T[][][] |
CreateArray3D(java.lang.Class<T> type,
int[] dimensions)
Creates an array
T[][][] of the specified dimensions. |
static <T> T |
CreateElement(java.lang.Class<T> type)
Creates an element of a specified type.
|
static <T> java.lang.Class<T> |
GetType(T element)
Returns the type of a specified element.
|
public static <T> java.lang.Class<T> GetType(T element)
T - The type of the specified element.element - The specified element.public static <T> T CreateElement(java.lang.Class<T> type)
T - The type of element.type - The specified data type.public static <T> T[] CreateArray(java.lang.Class<T> type,
int size)
T[] of a specified size.T - The type of elements in the array.type - The specified data type.size - The specified size of the array.T[] of the specified size.public static <T> T[] CreateArray(T elem,
int size)
T[] of a specified size that is
filled with a specified element.T - The type of elements in the array.elem - The specified element.size - The specified size of the array.T[] of a specified size.public static <T> T[][] CreateArray2D(java.lang.Class<T> type,
int[] dimensions)
T[][] of the specified dimensions.T - The type of elements in the array.type - The specified data type.dimensions - The specified dimensions of the array.T[][] of the specified dimensions.public static <T> T[][][] CreateArray3D(java.lang.Class<T> type,
int[] dimensions)
T[][][] of the specified dimensions.T - The type of elements in the array.type - The specified data type.dimensions - The specified dimensions of the array.T[][][] of the specified dimensions.Copyright© 2012 Progeneric Systems, Inc. All Rights Reserved.