public enum PrimitiveType extends Enum<PrimitiveType> implements Type
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static PrimitiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveType UNKNOWN
public static final PrimitiveType NUMBER
public static final PrimitiveType STRING
public static final PrimitiveType BOOLEAN
public static PrimitiveType[] values()
for (PrimitiveType c : PrimitiveType.values()) System.out.println(c);
public static PrimitiveType 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 toString()
toString in class Enum<PrimitiveType>Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.