public enum TypeKind extends Enum<TypeKind>
DO NOT CHANGE THE ORDER!
ONLY APPEND NEW ELEMENTS!
| Enum Constant and Description |
|---|
BOOLEAN |
BOOLEAN_ARR |
BOOLEAN_OBJ |
BYTE |
BYTE_ARR |
BYTE_OBJ |
CHAR |
CHAR_ARR |
CHAR_OBJ |
DATE |
DOUBLE |
DOUBLE_ARR |
DOUBLE_OBJ |
FLOAT |
FLOAT_ARR |
FLOAT_OBJ |
INT |
INT_ARR |
INT_OBJ |
LIST |
LONG |
LONG_ARR |
LONG_OBJ |
MAP |
NULL |
OBJECT_ARR |
SET |
SHORT |
SHORT_ARR |
SHORT_OBJ |
STRING |
UNKNOWN |
UUID |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ARR |
static boolean |
CONCRETE |
static boolean |
NAN |
static boolean |
NOT_ARR |
static boolean |
NUM |
static boolean |
OBJ |
static boolean |
PRIM |
static boolean |
UNCLEAR |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getType() |
boolean |
isArray() |
boolean |
isConcrete() |
boolean |
isNumber() |
boolean |
isPrimitive() |
static TypeKind |
of(Object value) |
static TypeKind |
ofType(Class<?> type) |
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 UNKNOWN
public static final TypeKind DATE
public static final TypeKind UUID
public static final TypeKind BOOLEAN_ARR
public static final TypeKind BYTE_ARR
public static final TypeKind SHORT_ARR
public static final TypeKind CHAR_ARR
public static final TypeKind INT_ARR
public static final TypeKind LONG_ARR
public static final TypeKind FLOAT_ARR
public static final TypeKind DOUBLE_ARR
public static final TypeKind OBJECT_ARR
public static final TypeKind LIST
public static final TypeKind SET
public static final TypeKind MAP
public static final boolean PRIM
public static final boolean OBJ
public static final boolean NUM
public static final boolean NAN
public static final boolean CONCRETE
public static final boolean UNCLEAR
public static final boolean ARR
public static final boolean NOT_ARR
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 Class<?> getType()
public boolean isPrimitive()
public boolean isNumber()
public boolean isConcrete()
public boolean isArray()
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.