Serializable
, Comparable<Kind>
public enum Kind extends Enum<Kind>
Enum Constant | Description |
---|---|
BOOLEAN |
Field of type
boolean . |
BYTE |
Field of type
byte . |
CHAR |
Field of type
char . |
DOUBLE |
Field of type
double . |
FLOAT |
Field of type
float . |
INT |
Field of type
int . |
LONG |
Field of type
long . |
OBJECT |
Field of object type.
|
SHORT |
Field of type
short . |
Modifier and Type | Method | Description |
---|---|---|
static Kind |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Kind[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Kind BOOLEAN
boolean
.public static final Kind BYTE
byte
.public static final Kind CHAR
char
.public static final Kind DOUBLE
double
.public static final Kind FLOAT
float
.public static final Kind INT
int
.public static final Kind LONG
long
.public static final Kind OBJECT
public static final Kind SHORT
short
.public static Kind[] values()
for (Kind c : Kind.values()) System.out.println(c);
public static Kind 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 © 2019 JBoss by Red Hat. All rights reserved.