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