public static enum CAP3ChargingResult.Choice extends Enum<CAP3ChargingResult.Choice>
Enum Constant and Description |
---|
ELAPSEDTIME |
TRANSFERREDVOLUME |
Modifier and Type | Method and Description |
---|---|
static CAP3ChargingResult.Choice |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CAP3ChargingResult.Choice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CAP3ChargingResult.Choice TRANSFERREDVOLUME
public static final CAP3ChargingResult.Choice ELAPSEDTIME
public static CAP3ChargingResult.Choice[] values()
for (CAP3ChargingResult.Choice c : CAP3ChargingResult.Choice.values()) System.out.println(c);
public static CAP3ChargingResult.Choice 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 null