public enum TypeKind extends Enum<TypeKind>
Enum Constant and Description |
---|
BOOLEAN |
BOOLEAN_OBJ |
BYTE |
BYTE_OBJ |
CHAR |
CHAR_OBJ |
DATE |
DOUBLE |
DOUBLE_OBJ |
FLOAT |
FLOAT_OBJ |
INT |
INT_OBJ |
LONG |
LONG_OBJ |
NULL |
OBJECT |
SHORT |
SHORT_OBJ |
STRING |
UUID |
Modifier and Type | Method and Description |
---|---|
boolean |
isNumber() |
boolean |
isPrimitive() |
boolean |
isSimple() |
static TypeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeKind NULL
public static final TypeKind BOOLEAN
public static final TypeKind BYTE
public static final TypeKind SHORT
public static final TypeKind CHAR
public static final TypeKind INT
public static final TypeKind LONG
public static final TypeKind FLOAT
public static final TypeKind DOUBLE
public static final TypeKind STRING
public static final TypeKind BOOLEAN_OBJ
public static final TypeKind BYTE_OBJ
public static final TypeKind SHORT_OBJ
public static final TypeKind CHAR_OBJ
public static final TypeKind INT_OBJ
public static final TypeKind LONG_OBJ
public static final TypeKind FLOAT_OBJ
public static final TypeKind DOUBLE_OBJ
public static final TypeKind OBJECT
public static final TypeKind DATE
public static final TypeKind UUID
public static TypeKind[] values()
for (TypeKind c : TypeKind.values()) System.out.println(c);
public static TypeKind 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 boolean isPrimitive()
public boolean isNumber()
public boolean isSimple()
Copyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.