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