public static enum Type.Primitives extends Enum<Type.Primitives>
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
| Modifier and Type | Method and Description |
|---|---|
static Type.Primitives |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.Primitives[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.Primitives BYTE
public static final Type.Primitives CHAR
public static final Type.Primitives SHORT
public static final Type.Primitives INT
public static final Type.Primitives LONG
public static final Type.Primitives FLOAT
public static final Type.Primitives DOUBLE
public static final Type.Primitives BOOLEAN
public static Type.Primitives[] values()
for (Type.Primitives c : Type.Primitives.values()) System.out.println(c);
public static Type.Primitives 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 © 2012–2016 SonarSource. All rights reserved.