public enum ConstantOperandConstantType extends Enum<ConstantOperandConstantType>
Java class for ConstantOperand.ConstantType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ConstantOperand.ConstantType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="BOOLEAN"/>
<enumeration value="DOUBLE"/>
<enumeration value="LONG"/>
<enumeration value="STRING"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BOOLEAN
Boolean constant type.
|
DOUBLE
Double constant type.
|
LONG
Long constant type.
|
STRING
String constant type.
|
| Modifier and Type | Method and Description |
|---|---|
static ConstantOperandConstantType |
fromValue(String v) |
String |
value() |
static ConstantOperandConstantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstantOperandConstantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstantOperandConstantType BOOLEAN
public static final ConstantOperandConstantType DOUBLE
public static final ConstantOperandConstantType LONG
public static final ConstantOperandConstantType STRING
public static ConstantOperandConstantType[] values()
for (ConstantOperandConstantType c : ConstantOperandConstantType.values()) System.out.println(c);
public static ConstantOperandConstantType 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 String value()
public static ConstantOperandConstantType fromValue(String v)
Copyright © 2023. All rights reserved.