public enum BugRankCategory extends Enum<BugRankCategory>
BugRanker,
Confidence| Enum Constant and Description |
|---|
OF_CONCERN |
SCARIEST |
SCARY |
TROUBLING |
| Modifier and Type | Field and Description |
|---|---|
int |
maxRank |
| Modifier and Type | Method and Description |
|---|---|
static BugRankCategory |
getRank(int rank) |
String |
toString() |
static BugRankCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BugRankCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BugRankCategory SCARIEST
public static final BugRankCategory SCARY
public static final BugRankCategory TROUBLING
public static final BugRankCategory OF_CONCERN
public static BugRankCategory[] values()
for (BugRankCategory c : BugRankCategory.values()) System.out.println(c);
public static BugRankCategory 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@Nonnull public static BugRankCategory getRank(int rank)
public String toString()
toString in class Enum<BugRankCategory>Copyright © 2003–2015. All rights reserved.