Serializable, Comparable<CompoundTypeKind>public enum CompoundTypeKind extends Enum<CompoundTypeKind>
| Modifier and Type | Field | Description |
|---|---|---|
int |
id |
| Modifier and Type | Method | Description |
|---|---|---|
static CompoundTypeKind |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static CompoundTypeKind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompoundTypeKind STRUCT
public static final CompoundTypeKind UNION
public static CompoundTypeKind[] values()
for (CompoundTypeKind c : CompoundTypeKind.values()) System.out.println(c);
public static CompoundTypeKind 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 null