Enum Op.BinaryOp
- java.lang.Object
-
- java.lang.Enum<Op.BinaryOp>
-
- com.clevercloud.biscuit.datalog.expressions.Op.BinaryOp
-
- All Implemented Interfaces:
Serializable,Comparable<Op.BinaryOp>
- Enclosing class:
- Op
public static enum Op.BinaryOp extends Enum<Op.BinaryOp>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AddAndContainsDivEqualGreaterOrEqualGreaterThanIntersectionLessOrEqualLessThanMulOrPrefixRegexSubSuffixUnion
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Op.BinaryOpvalueOf(String name)Returns the enum constant of this type with the specified name.static Op.BinaryOp[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LessThan
public static final Op.BinaryOp LessThan
-
GreaterThan
public static final Op.BinaryOp GreaterThan
-
LessOrEqual
public static final Op.BinaryOp LessOrEqual
-
GreaterOrEqual
public static final Op.BinaryOp GreaterOrEqual
-
Equal
public static final Op.BinaryOp Equal
-
Contains
public static final Op.BinaryOp Contains
-
Prefix
public static final Op.BinaryOp Prefix
-
Suffix
public static final Op.BinaryOp Suffix
-
Regex
public static final Op.BinaryOp Regex
-
Add
public static final Op.BinaryOp Add
-
Sub
public static final Op.BinaryOp Sub
-
Mul
public static final Op.BinaryOp Mul
-
Div
public static final Op.BinaryOp Div
-
And
public static final Op.BinaryOp And
-
Or
public static final Op.BinaryOp Or
-
Intersection
public static final Op.BinaryOp Intersection
-
Union
public static final Op.BinaryOp Union
-
-
Method Detail
-
values
public static Op.BinaryOp[] 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 (Op.BinaryOp c : Op.BinaryOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Op.BinaryOp 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
-
-