public enum RouteNetwork extends Enum<RouteNetwork>
Enum Constant and Description |
---|
INTERNATIONAL |
LOCAL |
MISSING |
NATIONAL |
OTHER |
REGIONAL |
Modifier and Type | Method and Description |
---|---|
static RouteNetwork |
find(String name) |
static String |
key(String prefix) |
String |
toString() |
static RouteNetwork |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteNetwork[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteNetwork MISSING
public static final RouteNetwork INTERNATIONAL
public static final RouteNetwork NATIONAL
public static final RouteNetwork REGIONAL
public static final RouteNetwork LOCAL
public static final RouteNetwork OTHER
public static RouteNetwork[] values()
for (RouteNetwork c : RouteNetwork.values()) System.out.println(c);
public static RouteNetwork 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 String toString()
toString
in class Enum<RouteNetwork>
public static RouteNetwork find(String name)
Copyright © 2012–2022. All rights reserved.