Package org.neo4j.cypherdsl.core
Enum Operator.Type
- java.lang.Object
-
- java.lang.Enum<Operator.Type>
-
- org.neo4j.cypherdsl.core.Operator.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Operator.Type>
- Enclosing class:
- Operator
public static enum Operator.Type extends java.lang.Enum<Operator.Type>
Operator
type.- Since:
- 1.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BINARY
Describes a binary operator (An operator with to operands).LABEL
The binary operator modifying labels of nodes.POSTFIX
Describes a unary postfix operator (An operator with one operand before the operator).PREFIX
Describes a unary prefix operator (An operator with one operand after the operator).PROPERTY
Describes an operator working with properties of entities.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Operator.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Operator.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BINARY
public static final Operator.Type BINARY
Describes a binary operator (An operator with to operands).
-
PREFIX
public static final Operator.Type PREFIX
Describes a unary prefix operator (An operator with one operand after the operator).
-
POSTFIX
public static final Operator.Type POSTFIX
Describes a unary postfix operator (An operator with one operand before the operator).
-
PROPERTY
public static final Operator.Type PROPERTY
Describes an operator working with properties of entities.
-
LABEL
public static final Operator.Type LABEL
The binary operator modifying labels of nodes.
-
-
Method Detail
-
values
public static Operator.Type[] 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.Type c : Operator.Type.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.Type 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
-
-