Enum Class firstEvolutionPokemon

java.lang.Object
java.lang.Enum<firstEvolutionPokemon>
Pokemon.Attributes.firstEvolutionPokemon
All Implemented Interfaces:
Serializable, Comparable<firstEvolutionPokemon>, Constable

public enum firstEvolutionPokemon extends Enum<firstEvolutionPokemon>
Enum representing Pokémon that are in their first evolution stage.

Each constant in this enum corresponds to a Pokémon that is the base form in its evolutionary line. These Pokémon can evolve into a second-stage Pokémon and then a third-stage Pokémon as defined in their respective evolution lines.

Examples of first-stage Pokémon and their evolutions:

  • CHARMANDER – evolves into Charmeleon → Charizard
  • BULBASAUR – evolves into Ivysaur → Venusaur
  • SQUIRTLE – evolves into Wartortle → Blastoise

Example usage:


 firstEvolutionPokemon basePokemon = firstEvolutionPokemon.CHARMANDER;
 
  • Enum Constant Details

  • Constructor Details

    • firstEvolutionPokemon

      private firstEvolutionPokemon()
  • Method Details

    • values

      public static firstEvolutionPokemon[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static firstEvolutionPokemon valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null