Enum Class SecondEvolutionPokemon

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

public enum SecondEvolutionPokemon extends Enum<SecondEvolutionPokemon>
Enumeration of Pokémon species that represent the second stage in their evolutionary line.

Each constant corresponds to a Pokémon that evolves from its first stage counterpart and can further evolve into a third-stage Pokémon. This enum is typically used for tracking evolution progress or determining available moves and stats for mid-evolution Pokémon.

Example usage:


 SecondEvolutionPokemon evo = SecondEvolutionPokemon.PIKACHU;
 
  • Enum Constant Details

    • PIKACHU

      public static final SecondEvolutionPokemon PIKACHU
      Pikachu, no previous evolution (evolves directly into third evolution: Raichu).
    • CHARMELEON

      public static final SecondEvolutionPokemon CHARMELEON
      Charmeleon, second evolution of Charmander.
    • IVYSAUR

      public static final SecondEvolutionPokemon IVYSAUR
      Ivysaur, second evolution of Bulbasaur.
    • WORTORTLE

      public static final SecondEvolutionPokemon WORTORTLE
      Wartortle, second evolution of Squirtle.
  • Constructor Details

    • SecondEvolutionPokemon

      private SecondEvolutionPokemon()
  • Method Details

    • values

      public static SecondEvolutionPokemon[] 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 SecondEvolutionPokemon 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