public static enum LowMemoryWatcher.LowMemoryWatcherType extends java.lang.Enum<LowMemoryWatcher.LowMemoryWatcherType>
Enum Constant and Description |
---|
ALWAYS |
ONLY_AFTER_GC |
Modifier and Type | Method and Description |
---|---|
static LowMemoryWatcher.LowMemoryWatcherType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LowMemoryWatcher.LowMemoryWatcherType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LowMemoryWatcher.LowMemoryWatcherType ALWAYS
public static final LowMemoryWatcher.LowMemoryWatcherType ONLY_AFTER_GC
public static LowMemoryWatcher.LowMemoryWatcherType[] values()
for (LowMemoryWatcher.LowMemoryWatcherType c : LowMemoryWatcher.LowMemoryWatcherType.values()) System.out.println(c);
public static LowMemoryWatcher.LowMemoryWatcherType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null