Package es.bsc.dataclay.util.filtering
Enum ASTParser.ValueType
- java.lang.Object
-
- java.lang.Enum<ASTParser.ValueType>
-
- es.bsc.dataclay.util.filtering.ASTParser.ValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<ASTParser.ValueType>
- Enclosing class:
- ASTParser
public static enum ASTParser.ValueType extends Enum<ASTParser.ValueType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN
BOOLEANCLASS
DOUBLE
DOUBLECLASS
FLOAT
FLOATCLASS
ID
INT
INTCLASS
LONG
LONGCLASS
SHORT
SHORTCLASS
STRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ASTParser.ValueType
fromClass(Class checktype)
static ASTParser.ValueType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ASTParser.ValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT
public static final ASTParser.ValueType INT
-
SHORT
public static final ASTParser.ValueType SHORT
-
LONG
public static final ASTParser.ValueType LONG
-
FLOAT
public static final ASTParser.ValueType FLOAT
-
DOUBLE
public static final ASTParser.ValueType DOUBLE
-
BOOLEAN
public static final ASTParser.ValueType BOOLEAN
-
INTCLASS
public static final ASTParser.ValueType INTCLASS
-
LONGCLASS
public static final ASTParser.ValueType LONGCLASS
-
SHORTCLASS
public static final ASTParser.ValueType SHORTCLASS
-
FLOATCLASS
public static final ASTParser.ValueType FLOATCLASS
-
DOUBLECLASS
public static final ASTParser.ValueType DOUBLECLASS
-
BOOLEANCLASS
public static final ASTParser.ValueType BOOLEANCLASS
-
STRING
public static final ASTParser.ValueType STRING
-
ID
public static final ASTParser.ValueType ID
-
-
Method Detail
-
values
public static ASTParser.ValueType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ASTParser.ValueType c : ASTParser.ValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ASTParser.ValueType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromClass
public static ASTParser.ValueType fromClass(Class checktype)
-
-