Enum Cat.Type

    • Enum Constant Detail

      • TABBY

        public static final Cat.Type TABBY
      • BLACK

        public static final Cat.Type BLACK
      • SIAMESE

        public static final Cat.Type SIAMESE
      • BRITISH_SHORTHAIR

        public static final Cat.Type BRITISH_SHORTHAIR
      • CALICO

        public static final Cat.Type CALICO
      • PERSIAN

        public static final Cat.Type PERSIAN
      • RAGDOLL

        public static final Cat.Type RAGDOLL
      • WHITE

        public static final Cat.Type WHITE
      • JELLIE

        public static final Cat.Type JELLIE
      • ALL_BLACK

        public static final Cat.Type ALL_BLACK
    • Method Detail

      • values

        public static Cat.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 (Cat.Type c : Cat.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 Cat.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