|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RouteType>
net.sf.marineapi.nmea.util.RouteType
public enum RouteType
Defines the supported route types.
RTESentence
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RouteType ACTIVE
public static final RouteType WORKING
Method Detail |
---|
public static final 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 namepublic char toChar()
public RouteType valueOf(char ch)
ch
- Char
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |