public enum TypeCode extends Enum<TypeCode>
| Enum Constant and Description |
|---|
ARRAY |
BOOLEAN |
BYTE |
CHAR |
CLASS |
DOUBLE |
ERROR |
FLOAT |
INT |
LONG |
METHOD |
NULL |
SHORT |
VOID |
| Modifier and Type | Method and Description |
|---|---|
int |
tcCode() |
String |
toValueString(Object value) |
static TypeCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeCode BOOLEAN
public static final TypeCode BYTE
public static final TypeCode CHAR
public static final TypeCode SHORT
public static final TypeCode INT
public static final TypeCode LONG
public static final TypeCode FLOAT
public static final TypeCode DOUBLE
public static final TypeCode NULL
public static final TypeCode ARRAY
public static final TypeCode CLASS
public static final TypeCode VOID
public static final TypeCode METHOD
public static final TypeCode ERROR
public static TypeCode[] values()
for (TypeCode c : TypeCode.values()) System.out.println(c);
public static TypeCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int tcCode()
Copyright © 2017–2021 Eclipse Foundation. All rights reserved.