public static enum PhysicalDimensionsService.Unit extends Enum<PhysicalDimensionsService.Unit>
| Enum Constant and Description |
|---|
CENTIMETERS |
INCHES |
MILLIMETERS |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static PhysicalDimensionsService.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhysicalDimensionsService.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhysicalDimensionsService.Unit MILLIMETERS
public static final PhysicalDimensionsService.Unit CENTIMETERS
public static final PhysicalDimensionsService.Unit INCHES
public static PhysicalDimensionsService.Unit[] values()
for (PhysicalDimensionsService.Unit c : PhysicalDimensionsService.Unit.values()) System.out.println(c);
public static PhysicalDimensionsService.Unit 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 nullpublic String toString()
toString in class Enum<PhysicalDimensionsService.Unit>Copyright © 2018. All rights reserved.