枚举 RouteType

java.lang.Object
java.lang.Enum<RouteType>
net.sf.marineapi.nmea.util.RouteType
所有已实现的接口:
Serializable, Comparable<RouteType>, java.lang.constant.Constable

public enum RouteType extends Enum<RouteType>
Defines the supported route types.
作者:
Kimmo Tuukkanen
另请参阅:
  • 枚举常量详细资料

    • ACTIVE

      public static final RouteType ACTIVE
      Active route: complete, all waypoints in route order.
    • WORKING

      public static final RouteType WORKING
      Working route: the waypoint you just left, the waypoint you're heading to and then all the rest.
  • 方法详细资料

    • values

      public static RouteType[] values()
      按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
      返回:
      按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
    • valueOf

      public static RouteType valueOf(String name)
      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
      NullPointerException - 如果参数为空值
    • toChar

      public char toChar()
      Get the corresponding char indicator of enum.
      返回:
      Char
    • valueOf

      public RouteType valueOf(char ch)
      Get the char indicator corresponding to enum.
      参数:
      ch - Char
      返回:
      ReturnType corresponding to specified char.