public enum ControlUnitLocation extends Enum<ControlUnitLocation>
User: Kirill, Date: 26.09.13 17:04
.Enum Constant and Description |
---|
DEVICE
Control unit located at Device.
|
REMOTE
Control unit located at Remote server.
|
Modifier and Type | Method and Description |
---|---|
static ControlUnitLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlUnitLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlUnitLocation DEVICE
public static final ControlUnitLocation REMOTE
public static ControlUnitLocation[] values()
for (ControlUnitLocation c : ControlUnitLocation.values()) System.out.println(c);
public static ControlUnitLocation 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 © 2015. All rights reserved.