enum Type extends Enum<Type>
Enum Constant and Description |
---|
Color |
End |
Float32 |
Int32 |
None |
Pointer |
String |
UInt64 |
WideString |
Modifier and Type | Field and Description |
---|---|
private byte |
code |
private static HashMap<Byte,Type> |
values |
Modifier and Type | Method and Description |
---|---|
static Type |
f(int code) |
byte |
v() |
static Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type None
public static final Type String
public static final Type Int32
public static final Type Float32
public static final Type Pointer
public static final Type WideString
public static final Type Color
public static final Type UInt64
public static final Type End
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static Type 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 byte v()
public static Type f(int code)
Copyright © 2012. All Rights Reserved.