
public class BasicType extends Object
The enumeration values for this typesafe enumeration must be kept in synchronization with the BasicType enum in the globalsDefinitions.hpp file in the HotSpot source base.
| Modifier and Type | Field and Description |
|---|---|
static BasicType |
ADDRESS |
static BasicType |
ARRAY |
static BasicType |
BOOLEAN |
static BasicType |
BYTE |
static BasicType |
CHAR |
static BasicType |
DOUBLE |
static BasicType |
FLOAT |
static BasicType |
ILLEGAL |
static BasicType |
INT |
static BasicType |
LONG |
static BasicType |
OBJECT |
static BasicType |
SHORT |
static BasicType |
VOID |
| Modifier and Type | Method and Description |
|---|---|
int |
intValue()
Convert enumeration to an integer value.
|
static BasicType |
toBasicType(int i)
Map an integer value to its corresponding BasicType object.
|
String |
toString()
Convert enumeration value to a String.
|
public static final BasicType BOOLEAN
public static final BasicType CHAR
public static final BasicType FLOAT
public static final BasicType DOUBLE
public static final BasicType BYTE
public static final BasicType SHORT
public static final BasicType INT
public static final BasicType LONG
public static final BasicType OBJECT
public static final BasicType ARRAY
public static final BasicType VOID
public static final BasicType ADDRESS
public static final BasicType ILLEGAL
public String toString()
public int intValue()
public static BasicType toBasicType(int i)
i - an integer representation of a BasicTypeiCopyright © 2017–2018 earcam. All rights reserved.