Enum KindSet

    • Enum Constant Detail

      • ASSIGNMENT_KINDS

        public static final KindSet ASSIGNMENT_KINDS
      • INC_DEC_KINDS

        public static final KindSet INC_DEC_KINDS
      • EQUALITY_KINDS

        public static final KindSet EQUALITY_KINDS
      • COMPARISON_KINDS

        public static final KindSet COMPARISON_KINDS
      • FUNCTION_KINDS

        public static final KindSet FUNCTION_KINDS
      • LOOP_KINDS

        public static final KindSet LOOP_KINDS
      • LITERAL_KINDS

        public static final KindSet LITERAL_KINDS
    • Method Detail

      • values

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

        public static KindSet 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
      • contains

        public boolean contains​(Kinds other)
        Specified by:
        contains in interface Kinds