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