public static enum Product.TrackingType extends Enum<Product.TrackingType>
| Enum Constant and Description |
|---|
ELECTRONICS |
LP_CLOTHES |
LP_LINENS |
NOT_TRACKED |
OTP |
PERFUMERY |
SHOES |
TIRES |
TOBACCO |
| Modifier and Type | Method and Description |
|---|---|
static Product.TrackingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Product.TrackingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Product.TrackingType NOT_TRACKED
public static final Product.TrackingType TOBACCO
public static final Product.TrackingType SHOES
public static final Product.TrackingType LP_CLOTHES
public static final Product.TrackingType LP_LINENS
public static final Product.TrackingType PERFUMERY
public static final Product.TrackingType ELECTRONICS
public static final Product.TrackingType TIRES
public static final Product.TrackingType OTP
public static Product.TrackingType[] values()
for (Product.TrackingType c : Product.TrackingType.values()) System.out.println(c);
public static Product.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 © 2021. All rights reserved.