|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<XHiveState>
waggle.common.modules.hive.enums.XHiveState
public enum XHiveState
Hive State.
Enum Constant Summary | |
---|---|
CLOSED Hive is closed. |
|
OPEN Hive is open. |
Method Summary | |
---|---|
boolean |
isClosed() Detect if a state is considered a closed state. |
boolean |
isOpen() Detect if a state is considered an open state. |
static XHiveState |
valueOf(String name) Returns the enum constant of this type with the specified name. |
static XHiveState[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final XHiveState OPEN
public static final XHiveState CLOSED
Method Detail |
---|
public static XHiveState[] values()
for (XHiveState c : XHiveState.values()) System.out.println(c);
public static XHiveState 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 boolean isOpen()
public boolean isClosed()
|
Oracle® On Track Communication SDK Documentation Release 1(1.0) E20955-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |