public static enum Types.ValueType extends Enum<Types.ValueType>
Enum Constant and Description |
---|
BOOLEAN |
FP32 |
FP64 |
INT32 |
INT64 |
STRING |
UINT8 |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Types.ValueType |
fromExternalString(String value) |
boolean |
isNumeric() |
boolean |
isPseudoNumeric() |
boolean |
isUnknown() |
String |
toExternalString() |
static Types.ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.ValueType UINT8
public static final Types.ValueType FP32
public static final Types.ValueType FP64
public static final Types.ValueType INT32
public static final Types.ValueType INT64
public static final Types.ValueType BOOLEAN
public static final Types.ValueType STRING
public static final Types.ValueType UNKNOWN
public static Types.ValueType[] values()
for (Types.ValueType c : Types.ValueType.values()) System.out.println(c);
public static Types.ValueType 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 isNumeric()
public boolean isUnknown()
public boolean isPseudoNumeric()
public String toExternalString()
public static Types.ValueType fromExternalString(String value)
Copyright © 2021 The Apache Software Foundation. All rights reserved.