public enum BusConstants extends Enum<BusConstants>
Enum Constant and Description |
---|
FAVORITES |
FAVORITES_ENABLED |
MAP |
MAP_ENABLED |
NEARBY_STOPS |
NEARBY_STOPS_ENABLED |
ROUTES |
ROUTES_ENABLED |
STOPS |
TAB_ORDER |
URL_MAP |
VIEW_NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsName(String otherName) |
String |
toString() |
static BusConstants |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusConstants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusConstants ROUTES
public static final BusConstants FAVORITES
public static final BusConstants MAP
public static final BusConstants STOPS
public static final BusConstants NEARBY_STOPS
public static final BusConstants ROUTES_ENABLED
public static final BusConstants FAVORITES_ENABLED
public static final BusConstants MAP_ENABLED
public static final BusConstants NEARBY_STOPS_ENABLED
public static final BusConstants TAB_ORDER
public static final BusConstants URL_MAP
public static final BusConstants VIEW_NAME
public static BusConstants[] values()
for (BusConstants c : BusConstants.values()) System.out.println(c);
public static BusConstants 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 boolean equalsName(String otherName)
public String toString()
toString
in class Enum<BusConstants>
Copyright © 2011-2014 The Kuali Foundation. All Rights Reserved.