public enum OperatorEnum extends Enum<OperatorEnum>
Enum Constant and Description |
---|
EQUAL |
GREATER |
GREATER_OR_EQUAL |
LOWER |
LOWER_OR_EQUAL |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Get the id of the operator
|
String |
toString()
Get the String value of the operator
|
static OperatorEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorEnum EQUAL
public static final OperatorEnum GREATER
public static final OperatorEnum LOWER
public static final OperatorEnum GREATER_OR_EQUAL
public static final OperatorEnum LOWER_OR_EQUAL
public static OperatorEnum[] values()
for (OperatorEnum c : OperatorEnum.values()) System.out.println(c);
public static OperatorEnum 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 int getId()
public String toString()
toString
in class Enum<OperatorEnum>
Copyright © 2017 City of Paris. All rights reserved.