public static enum MemoryMeter.Guess extends java.lang.Enum<MemoryMeter.Guess>
| Enum Constant and Description |
|---|
ALWAYS_SPEC |
ALWAYS_UNSAFE |
FALLBACK_BEST |
FALLBACK_SPEC |
FALLBACK_UNSAFE |
NEVER |
| Modifier and Type | Method and Description |
|---|---|
static MemoryMeter.Guess |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MemoryMeter.Guess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryMeter.Guess NEVER
public static final MemoryMeter.Guess FALLBACK_SPEC
public static final MemoryMeter.Guess FALLBACK_UNSAFE
public static final MemoryMeter.Guess FALLBACK_BEST
public static final MemoryMeter.Guess ALWAYS_SPEC
public static final MemoryMeter.Guess ALWAYS_UNSAFE
public static MemoryMeter.Guess[] values()
for (MemoryMeter.Guess c : MemoryMeter.Guess.values()) System.out.println(c);
public static MemoryMeter.Guess 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