Enum Class CodeType

java.lang.Object
java.lang.Enum<CodeType>
org.deltava.beans.navdata.CodeType
All Implemented Interfaces:
Serializable, Comparable<CodeType>, Constable

public enum CodeType extends Enum<CodeType>
An enumeration to determine whether a waypoint code is just a code, or encoded coordinates as either a quadrant (with a single letter at the end) or a full lat/long set with two letters.
Since:
2.6
Version:
9.1
Author:
Luke
  • Enum Constant Details

    • CODE

      public static final CodeType CODE
    • QUADRANT

      public static final CodeType QUADRANT
    • FULL

      public static final CodeType FULL
    • SLASH

      public static final CodeType SLASH
  • Method Details

    • values

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