public enum DiscardRules extends Enum<DiscardRules>
Enum Constant and Description |
---|
LEAST_LIKELY_TO_BE_NECESSARY |
LONGEST_HELD |
MOST_CERTAIN_IS_USELESS |
RANDOM |
Modifier and Type | Method and Description |
---|---|
static DiscardRules |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscardRules[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscardRules RANDOM
public static final DiscardRules MOST_CERTAIN_IS_USELESS
public static final DiscardRules LONGEST_HELD
public static final DiscardRules LEAST_LIKELY_TO_BE_NECESSARY
public static DiscardRules[] values()
for (DiscardRules c : DiscardRules.values()) System.out.println(c);
public static DiscardRules 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 nullCopyright © 2017 FOSS Galaxy. All rights reserved.