Enum Class Continent

java.lang.Object
java.lang.Enum<Continent>
rs.baselib.type.Continent
All Implemented Interfaces:
Serializable, Comparable<Continent>, Constable

public enum Continent extends Enum<Continent>
All continents on this planet.
Author:
ralph
  • Enum Constant Details

    • AFRICA

      public static final Continent AFRICA
      Africa
    • ANTARCTICA

      public static final Continent ANTARCTICA
      Antarctica
    • ARCTICA

      public static final Continent ARCTICA
      Arctica
    • ASIA

      public static final Continent ASIA
      Asia
    • AUSTRALIA

      public static final Continent AUSTRALIA
      Australia
    • EUROPE

      public static final Continent EUROPE
      Europe
    • NORTH_AMERICA

      public static final Continent NORTH_AMERICA
      North America
    • SOUTH_AMERICA

      public static final Continent SOUTH_AMERICA
      South America
  • 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