java.io.Serializable, java.lang.Comparable<Sortables>, java.util.Comparator<edu.umd.cs.findbugs.gui2.BugAspects.SortableValue>public enum Sortables extends java.lang.Enum<Sortables> implements java.util.Comparator<edu.umd.cs.findbugs.gui2.BugAspects.SortableValue>
| Enum Constant | Description |
|---|---|
BUG_RANK |
|
BUGCODE |
|
CATEGORY |
|
CLASS |
|
DESIGNATION |
|
DIVIDER |
|
FIRSTVERSION |
|
LASTVERSION |
|
PACKAGE |
|
PACKAGE_PREFIX |
|
PRIORITY |
|
PROJECT |
|
TYPE |
| Modifier and Type | Method | Description |
|---|---|---|
int |
compare(edu.umd.cs.findbugs.gui2.BugAspects.SortableValue one,
edu.umd.cs.findbugs.gui2.BugAspects.SortableValue two) |
|
java.lang.String |
formatValue(java.lang.String value) |
|
java.lang.String[] |
getAll() |
|
java.lang.String[] |
getAll(BugSet set) |
|
java.lang.String[] |
getAllSorted() |
|
java.lang.String[] |
getAllSorted(BugSet set) |
|
java.util.Comparator<BugLeafNode> |
getBugLeafNodeComparator() |
|
SortableStringComparator |
getComparator() |
|
abstract java.lang.String |
getFrom(BugInstance bug) |
|
static Sortables |
getSortableByPrettyName(java.lang.String name) |
|
boolean |
isAvailable(MainFrame frame) |
|
java.lang.String |
toString() |
|
static Sortables |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Sortables[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final Sortables FIRSTVERSION
public static final Sortables LASTVERSION
public static final Sortables PRIORITY
public static final Sortables CLASS
public static final Sortables PACKAGE
public static final Sortables PACKAGE_PREFIX
public static final Sortables CATEGORY
public static final Sortables DESIGNATION
public static final Sortables BUGCODE
public static final Sortables TYPE
public static final Sortables BUG_RANK
public static final Sortables PROJECT
public static final Sortables DIVIDER
public static Sortables[] values()
for (Sortables c : Sortables.values()) System.out.println(c);
public static Sortables 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<Sortables>public abstract java.lang.String getFrom(BugInstance bug)
public java.lang.String[] getAll()
public java.lang.String[] getAll(BugSet set)
public java.lang.String formatValue(java.lang.String value)
public int compare(edu.umd.cs.findbugs.gui2.BugAspects.SortableValue one,
edu.umd.cs.findbugs.gui2.BugAspects.SortableValue two)
compare in interface java.util.Comparator<edu.umd.cs.findbugs.gui2.BugAspects.SortableValue>public java.lang.String[] getAllSorted()
public java.lang.String[] getAllSorted(BugSet set)
public SortableStringComparator getComparator()
public java.util.Comparator<BugLeafNode> getBugLeafNodeComparator()
public boolean isAvailable(MainFrame frame)
public static Sortables getSortableByPrettyName(java.lang.String name)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.