public static enum SyncStateControl.State extends Enum<SyncStateControl.State>
| Enum Constant and Description |
|---|
ADD
add.
|
DELETE
delete.
|
MODIFY
modify.
|
PRESET
present.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value
underlying value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value()
Returns the value.
|
static SyncStateControl.State |
valueOf(int i)
Returns the state for the supplied integer constant.
|
static SyncStateControl.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncStateControl.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncStateControl.State PRESET
public static final SyncStateControl.State ADD
public static final SyncStateControl.State MODIFY
public static final SyncStateControl.State DELETE
public static SyncStateControl.State[] values()
for (SyncStateControl.State c : SyncStateControl.State.values()) System.out.println(c);
public static SyncStateControl.State 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 int value()
public static SyncStateControl.State valueOf(int i)
i - to find state forCopyright © 2003-2019 Virginia Tech. All Rights Reserved.