|
JProfiler API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ArrayType>
com.jprofiler.api.platform.parameters.ArrayType
public enum ArrayType
Represents all array types in the JVM.
These constants are returned by ArrayDescriptor.getType().
| Enum Constant Summary | |
|---|---|
BOOLEAN_ARRAY
Array of boolean. |
|
BYTE_ARRAY
Array of byte. |
|
CHAR_ARRAY
Array of char. |
|
DOUBLE_ARRAY
Array of double. |
|
FLOAT_ARRAY
Array of float. |
|
INT_ARRAY
Array of int. |
|
LONG_ARRAY
Array of long. |
|
OBJECT_ARRAY
Array of reference types. |
|
SHORT_ARRAY
Array of short. |
|
| Method Summary | |
|---|---|
static ArrayType |
getById(int id)
Converts an integer id to the corresponding constant. |
int |
getId()
Converts the constant to an integer id. |
static ArrayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ArrayType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ArrayType OBJECT_ARRAY
public static final ArrayType BOOLEAN_ARRAY
public static final ArrayType BYTE_ARRAY
public static final ArrayType CHAR_ARRAY
public static final ArrayType SHORT_ARRAY
public static final ArrayType INT_ARRAY
public static final ArrayType LONG_ARRAY
public static final ArrayType FLOAT_ARRAY
public static final ArrayType DOUBLE_ARRAY
| Method Detail |
|---|
public static ArrayType[] values()
for (ArrayType c : ArrayType.values()) System.out.println(c);
public static ArrayType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static ArrayType getById(int id)
id - the id
public int getId()
|
JProfiler API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||