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