Enum EOperatorType

    • Enum Constant Detail

      • INFIX

        public static final EOperatorType INFIX
        A binary operator that takes two argument. A binary operator is written between its two arguments.
      • POSTFIX

        public static final EOperatorType POSTFIX
        A unary operator than takes a single argument and is written after the argument to which it applies.
      • PREFIX

        public static final EOperatorType PREFIX
        A unary operator that takes a single argument and is written before the argument to which it applies.
      • PREFIX_INFIX

        public static final EOperatorType PREFIX_INFIX
        An operator that can be used as both a PREFIX and INFIX operator.
      • PREFIX_POSTFIX

        public static final EOperatorType PREFIX_POSTFIX
        An operator that can be used as both a PREFIX and POSTFIX operator.
    • Method Detail

      • values

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

        public static EOperatorType 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