Enum God

    • Enum Constant Detail

      • STANDARD

        public static final God STANDARD
        List of available gods
      • APOLLO

        public static final God APOLLO
      • ARTEMIS

        public static final God ARTEMIS
      • ATHENA

        public static final God ATHENA
      • ATLAS

        public static final God ATLAS
      • DEMETER

        public static final God DEMETER
      • HEPHAESTUS

        public static final God HEPHAESTUS
      • HERA

        public static final God HERA
      • MEDUSA

        public static final God MEDUSA
      • MINOTAUR

        public static final God MINOTAUR
      • PAN

        public static final God PAN
      • POSEIDON

        public static final God POSEIDON
      • PROMETHEUS

        public static final God PROMETHEUS
      • ZEUS

        public static final God ZEUS
      • TRITON

        public static final God TRITON
    • Method Detail

      • values

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

        public static God 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
      • strConverter

        public static God strConverter​(String input)
        Parameters:
        input - the string that needs to be converted
        Returns:
        converted enum element