public enum MemoryStatus extends Enum<MemoryStatus>
| Enum Constant and Description |
|---|
CRITICAL |
FREE |
LOW |
SOMEWHAT_LOW |
| Modifier and Type | Method and Description |
|---|---|
double |
getMinMemoryUsage() |
static MemoryStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryStatus FREE
public static final MemoryStatus SOMEWHAT_LOW
public static final MemoryStatus LOW
public static final MemoryStatus CRITICAL
public static MemoryStatus[] values()
for (MemoryStatus c : MemoryStatus.values()) System.out.println(c);
public static MemoryStatus 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 nullpublic double getMinMemoryUsage()
Copyright © 2015. All rights reserved.