public enum ReadWriteEnum extends Enum<ReadWriteEnum>
Modifier and Type | Class and Description |
---|---|
static class |
ReadWriteEnum.ReaderWriterMessage<MsgType> |
Modifier and Type | Method and Description |
---|---|
static ReadWriteEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadWriteEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadWriteEnum UNKNOWN
public static final ReadWriteEnum WRITE
public static final ReadWriteEnum READ
public static ReadWriteEnum[] values()
for (ReadWriteEnum c : ReadWriteEnum.values()) System.out.println(c);
public static ReadWriteEnum 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 Rice University - Department of Computer Science. All rights reserved.