Enum RelationalOperator
- java.lang.Object
-
- java.lang.Enum<RelationalOperator>
-
- com.jayway.jsonpath.internal.filter.RelationalOperator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RelationalOperator>
public enum RelationalOperator extends java.lang.Enum<RelationalOperator>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
operatorString
-
Constructor Summary
Constructors Modifier Constructor Description private
RelationalOperator(java.lang.String operatorString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelationalOperator
fromString(java.lang.String operatorString)
java.lang.String
toString()
static RelationalOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RelationalOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GTE
public static final RelationalOperator GTE
-
LTE
public static final RelationalOperator LTE
-
EQ
public static final RelationalOperator EQ
-
NE
public static final RelationalOperator NE
-
LT
public static final RelationalOperator LT
-
GT
public static final RelationalOperator GT
-
REGEX
public static final RelationalOperator REGEX
-
NIN
public static final RelationalOperator NIN
-
IN
public static final RelationalOperator IN
-
CONTAINS
public static final RelationalOperator CONTAINS
-
ALL
public static final RelationalOperator ALL
-
SIZE
public static final RelationalOperator SIZE
-
EXISTS
public static final RelationalOperator EXISTS
-
TYPE
public static final RelationalOperator TYPE
-
MATCHES
public static final RelationalOperator MATCHES
-
EMPTY
public static final RelationalOperator EMPTY
-
-
Method Detail
-
values
public static RelationalOperator[] 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 (RelationalOperator c : RelationalOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationalOperator valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static RelationalOperator fromString(java.lang.String operatorString)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<RelationalOperator>
-
-