public enum TrackingType extends Enum<TrackingType>
| Enum Constant and Description |
|---|
Airborne |
AustraliaPost |
CanadaPost |
DHL |
FedEx |
TNT |
UPS |
USPS |
| Modifier and Type | Method and Description |
|---|---|
static TrackingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrackingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackingType Airborne
public static final TrackingType AustraliaPost
public static final TrackingType CanadaPost
public static final TrackingType DHL
public static final TrackingType FedEx
public static final TrackingType TNT
public static final TrackingType UPS
public static final TrackingType USPS
public static TrackingType[] values()
for (TrackingType c : TrackingType.values()) System.out.println(c);
public static TrackingType 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 © 2014. All Rights Reserved.