public static enum CometEvent.Type extends Enum<CometEvent.Type>
Enum Constant and Description |
---|
INITIALIZE |
INTERRUPT |
NOTIFY |
READ |
TERMINATE |
WRITE |
Modifier and Type | Method and Description |
---|---|
static CometEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CometEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CometEvent.Type INTERRUPT
public static final CometEvent.Type NOTIFY
public static final CometEvent.Type INITIALIZE
public static final CometEvent.Type TERMINATE
public static final CometEvent.Type READ
public static final CometEvent.Type WRITE
public static CometEvent.Type[] values()
for (CometEvent.Type c : CometEvent.Type.values()) System.out.println(c);
public static CometEvent.Type 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 Oracle Corporation. All rights reserved.