Enum Operator.Type

    • 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​(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 name
        NullPointerException - if the argument is null