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>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelationalOperatorfromString(java.lang.String operatorString)java.lang.StringtoString()static RelationalOperatorvalueOf(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
-
TSEQ
public static final RelationalOperator TSEQ
Type safe equals
-
NE
public static final RelationalOperator NE
-
TSNE
public static final RelationalOperator TSNE
Type safe not equals
-
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
-
SUBSETOF
public static final RelationalOperator SUBSETOF
-
ANYOF
public static final RelationalOperator ANYOF
-
NONEOF
public static final RelationalOperator NONEOF
-
-
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:
toStringin classjava.lang.Enum<RelationalOperator>
-
-