edu.umd.cs.findbugs.gui2
public class Sortables extends Enum<Sortables> implements Comparator<BugAspects.SortableValue>
| Field Summary | |
|---|---|
| static Sortables | BUGCODE |
| static Sortables | CATEGORY |
| static Sortables | CLASS |
| static Sortables | DESIGNATION |
| static Sortables | DIVIDER |
| static Sortables | FIRSTVERSION |
| static Sortables | LASTVERSION |
| static Sortables | PACKAGE |
| static Sortables | PRIORITY |
| static Sortables | TYPE |
| static List<Sortables> | VALUES An immutable list containing the values comprising this enum class in the order they're declared. |
| Method Summary | |
|---|---|
| int | compare(BugAspects.SortableValue one, BugAspects.SortableValue two) |
| List<Sortables> | family() Returns an immutable list containing the values comprising this enum class in the order they're declared. |
| String | formatValue(String value) |
| String[] | getAll() |
| String[] | getAll(BugSet set) |
| String[] | getAllSorted() |
| String[] | getAllSorted(BugSet set) |
| Comparator<BugLeafNode> | getBugLeafNodeComparator() |
| abstract String | getFrom(BugInstance bug) |
| static Sortables | getSortableByPrettyName(String name) |
| static Sortables | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(Sortables c : Sortables.VALUES)
System.out.println(c);VALUES. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES.Returns: an immutable list containing the values comprising this enum class, in the order they're declared.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.