Package es.bsc.dataclay.util.filtering
Enum ASTParser.ASTOperand
- java.lang.Object
-
- java.lang.Enum<ASTParser.ASTOperand>
-
- es.bsc.dataclay.util.filtering.ASTParser.ASTOperand
-
- All Implemented Interfaces:
Serializable
,Comparable<ASTParser.ASTOperand>
- Enclosing class:
- ASTParser
public static enum ASTParser.ASTOperand extends Enum<ASTParser.ASTOperand>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINS
DIFFERENT
EQUALS
GREATER
GREATER_EQUALS
LESS
LESS_EQUALS
PREFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ASTParser.ASTOperand
fromString(String token)
static boolean
isASTOperand(String token)
static ASTParser.ASTOperand
valueOf(String name)
Returns the enum constant of this type with the specified name.static ASTParser.ASTOperand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final ASTParser.ASTOperand EQUALS
-
DIFFERENT
public static final ASTParser.ASTOperand DIFFERENT
-
LESS
public static final ASTParser.ASTOperand LESS
-
GREATER
public static final ASTParser.ASTOperand GREATER
-
LESS_EQUALS
public static final ASTParser.ASTOperand LESS_EQUALS
-
GREATER_EQUALS
public static final ASTParser.ASTOperand GREATER_EQUALS
-
PREFIX
public static final ASTParser.ASTOperand PREFIX
-
CONTAINS
public static final ASTParser.ASTOperand CONTAINS
-
-
Field Detail
-
_token
public String _token
-
-
Method Detail
-
values
public static ASTParser.ASTOperand[] 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.ASTOperand c : ASTParser.ASTOperand.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.ASTOperand 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
-
isASTOperand
public static boolean isASTOperand(String token)
-
fromString
public static ASTParser.ASTOperand fromString(String token)
-
-