Package types

Enum OperatorType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<OperatorType>

    public enum OperatorType
    extends java.lang.Enum<OperatorType>
    The OperatorType enum is used to store constants related to AnnotatedOperator objects.
    Since:
    1.0
    • Enum Constant Detail

      • POSITIVE_OPERATOR

        public static final OperatorType POSITIVE_OPERATOR
      • NEGATIVE_OPERATOR

        public static final OperatorType NEGATIVE_OPERATOR
      • NEGATION_OPERATOR

        public static final OperatorType NEGATION_OPERATOR
      • ADDITION_OPERATOR

        public static final OperatorType ADDITION_OPERATOR
      • SUBTRACTION_OPERATOR

        public static final OperatorType SUBTRACTION_OPERATOR
      • MULTIPLICATION_OPERATOR

        public static final OperatorType MULTIPLICATION_OPERATOR
      • DIVISION_OPERATOR

        public static final OperatorType DIVISION_OPERATOR
      • MODULO_OPERATOR

        public static final OperatorType MODULO_OPERATOR
      • POWER_OPERATOR

        public static final OperatorType POWER_OPERATOR
      • GREATER_OPERATOR

        public static final OperatorType GREATER_OPERATOR
      • GREATER_EQUALS_OPERATOR

        public static final OperatorType GREATER_EQUALS_OPERATOR
      • LESS_OPERATOR

        public static final OperatorType LESS_OPERATOR
      • LESS_EQUALS_OPERATOR

        public static final OperatorType LESS_EQUALS_OPERATOR
      • EQUALS_OPERATOR

        public static final OperatorType EQUALS_OPERATOR
      • EQUALS_EQUALS_OPERATOR

        public static final OperatorType EQUALS_EQUALS_OPERATOR
      • NOT_EQUALS_OPERATOR

        public static final OperatorType NOT_EQUALS_OPERATOR
      • AND_OPERATOR

        public static final OperatorType AND_OPERATOR
    • Method Detail

      • values

        public static OperatorType[] 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 (OperatorType c : OperatorType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OperatorType 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 name
        java.lang.NullPointerException - if the argument is null