public enum Type extends Enum<Type>
Enum Constant and Description |
---|
scalar
The type is a scalar and has a ScalarType.
|
scalarArray
The type is an array of scalars.
|
structure
The type is a structure.
|
structureArray
The type is an array of structures.
|
union
The type is an union.
|
unionArray
The type is an array of unions.
|
Modifier and Type | Method and Description |
---|---|
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 scalar
public static final Type scalarArray
public static final Type structure
public static final Type structureArray
public static final Type union
public static final Type unionArray
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 nullCopyright © 2014. All Rights Reserved.