Enum Operator
- java.lang.Object
-
- java.lang.Enum<Operator>
-
- de.gwdg.metadataqa.marc.cli.utils.ignorablerecords.Operator
-
- All Implemented Interfaces:
Serializable,Comparable<Operator>
public enum Operator extends Enum<Operator>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperatorbyCode(String operator)static OperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final Operator EQUAL
-
NOT_EQUAL
public static final Operator NOT_EQUAL
-
MATCH
public static final Operator MATCH
-
NOT_MATCH
public static final Operator NOT_MATCH
-
START_WITH
public static final Operator START_WITH
-
END_WITH
public static final Operator END_WITH
-
EXIST
public static final Operator EXIST
-
IN
public static final Operator IN
-
NOT_IN
public static final Operator NOT_IN
-
-
Method Detail
-
values
public static Operator[] 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 (Operator c : Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Operator 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
-
-