public static enum CustomerInfo.CustomerClass extends Enum<CustomerInfo.CustomerClass>
Modifier and Type | Method and Description |
---|---|
static CustomerInfo.CustomerClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomerInfo.CustomerClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomerInfo.CustomerClass SMALL
public static final CustomerInfo.CustomerClass LARGE
public static CustomerInfo.CustomerClass[] values()
for (CustomerInfo.CustomerClass c : CustomerInfo.CustomerClass.values()) System.out.println(c);
public static CustomerInfo.CustomerClass 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 © 2019 Power TAC. All rights reserved.