public enum Primitive extends Enum<Primitive>
| Modifier and Type | Method and Description |
|---|---|
static Primitive |
fromAlias(String alias) |
String |
getAlias() |
static Primitive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Primitive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Primitive BOOLEAN
public static final Primitive INTEGER
public static final Primitive FLOAT
public static final Primitive STRING
public static Primitive[] values()
for (Primitive c : Primitive.values()) System.out.println(c);
public static Primitive 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 String getAlias()
Copyright © 2018. All rights reserved.