public enum RouteType extends Enum<RouteType>
RTESentence
Enum Constant and Description |
---|
ACTIVE
Active route: complete, all waypoints in route order.
|
WORKING
Working route: the waypoint you just left, the waypoint you're heading to
and then all the rest.
|
Modifier and Type | Method and Description |
---|---|
char |
toChar()
Get the corresponding char indicator of enum.
|
RouteType |
valueOf(char ch)
Get the char indicator corresponding to enum.
|
static RouteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteType ACTIVE
public static final RouteType WORKING
public static RouteType[] values()
for (RouteType c : RouteType.values()) System.out.println(c);
public static RouteType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic char toChar()
public RouteType valueOf(char ch)
ch
- CharCopyright (C) 2010-2015 Java Marine API authors. All Rights Reserved.