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