Enum Expansion

java.lang.Object
java.lang.Enum<Expansion>
eu.getmangos.dto.Expansion
All Implemented Interfaces:
Serializable, Comparable<Expansion>, Constable

public enum Expansion
extends Enum<Expansion>
  • Enum Constant Details

  • Field Details

    • exp

      public final int exp
  • Method Details

    • values

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

      public static Expansion 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
    • convert

      public static Expansion convert​(int expansion)