public enum PKTransitType extends Enum<PKTransitType>
| Enum Constant and Description |
|---|
PKTransitTypeAir |
PKTransitTypeBoat |
PKTransitTypeBus |
PKTransitTypeGeneric |
PKTransitTypeTrain |
| Modifier and Type | Method and Description |
|---|---|
static PKTransitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PKTransitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKTransitType PKTransitTypeAir
public static final PKTransitType PKTransitTypeBoat
public static final PKTransitType PKTransitTypeBus
public static final PKTransitType PKTransitTypeGeneric
public static final PKTransitType PKTransitTypeTrain
public static PKTransitType[] values()
for (PKTransitType c : PKTransitType.values()) System.out.println(c);
public static PKTransitType 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 nullCopyright © 2012–2015. All rights reserved.