Enum Class Continent

java.lang.Object
java.lang.Enum<Continent>
org.marsik.ham.adif.enums.Continent
All Implemented Interfaces:
Serializable, Comparable<Continent>, Constable, AdifEnumCode

public enum Continent extends Enum<Continent> implements AdifEnumCode
  • Enum Constant Details

    • NORTH_AMERICA

      public static final Continent NORTH_AMERICA
    • SOUTH_AMERICA

      public static final Continent SOUTH_AMERICA
    • EUROPE

      public static final Continent EUROPE
    • AFRICA

      public static final Continent AFRICA
    • OCEANA

      public static final Continent OCEANA
    • ASIA

      public static final Continent ASIA
    • ANTARCTICA

      public static final Continent ANTARCTICA
  • Method Details

    • values

      public static Continent[] 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 Continent 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
    • adifCode

      public String adifCode()
      Specified by:
      adifCode in interface AdifEnumCode
    • findByCode

      public static Continent findByCode(String code)