public static enum MemoryHandler.Cost extends java.lang.Enum<MemoryHandler.Cost>
Enum Constant and Description |
---|
HIGH |
HIGHER |
HIGHEST |
LOW |
LOWER |
LOWEST |
MEDIUM |
MEDIUM_HIGH |
MEDIUM_LOW |
PANIC |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
description
the description
|
java.lang.String |
label
label
|
int |
level
The level
|
Modifier and Type | Method and Description |
---|---|
static MemoryHandler.Cost |
find(int level) |
static MemoryHandler.Cost |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MemoryHandler.Cost[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryHandler.Cost LOWEST
public static final MemoryHandler.Cost LOWER
public static final MemoryHandler.Cost LOW
public static final MemoryHandler.Cost MEDIUM_LOW
public static final MemoryHandler.Cost MEDIUM
public static final MemoryHandler.Cost MEDIUM_HIGH
public static final MemoryHandler.Cost HIGH
public static final MemoryHandler.Cost HIGHER
public static final MemoryHandler.Cost HIGHEST
public static final MemoryHandler.Cost PANIC
public final int level
public final java.lang.String description
public final java.lang.String label
public static MemoryHandler.Cost[] values()
for (MemoryHandler.Cost c : MemoryHandler.Cost.values()) System.out.println(c);
public static MemoryHandler.Cost 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@CheckReturnValue @Nonnull public static MemoryHandler.Cost find(int level)
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.