public static enum BufferEvent.EventSource extends Enum<BufferEvent.EventSource>
| Enum Constant and Description |
|---|
Reader
The event is emitted from the reader targeting the writer
|
Writer
The event is emitted from the writer targeting the reader
|
| Modifier and Type | Method and Description |
|---|---|
static BufferEvent.EventSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BufferEvent.EventSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferEvent.EventSource Writer
public static final BufferEvent.EventSource Reader
public static BufferEvent.EventSource[] values()
for (BufferEvent.EventSource c : BufferEvent.EventSource.values()) System.out.println(c);
public static BufferEvent.EventSource 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 © 2014. All Rights Reserved.