public enum PrimitiveDataType extends Enum<PrimitiveDataType>
| Enum Constant and Description |
|---|
PRIMITIVE_INT |
PRIMITIVE_INVALID |
PRIMITIVE_LONG |
PRIMITIVE_STRING |
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveDataType |
fromInt(int e) |
static int |
toInt(int ordinal) |
static PrimitiveDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveDataType PRIMITIVE_INT
public static final PrimitiveDataType PRIMITIVE_LONG
public static final PrimitiveDataType PRIMITIVE_STRING
public static final PrimitiveDataType PRIMITIVE_INVALID
public static PrimitiveDataType[] values()
for (PrimitiveDataType c : PrimitiveDataType.values()) System.out.println(c);
public static PrimitiveDataType 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 static PrimitiveDataType fromInt(int e)
public static int toInt(int ordinal)
Copyright © 2021. All rights reserved.