public class BugSet extends java.lang.Object implements java.lang.Iterable<BugLeafNode>
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
boolean |
contains(edu.umd.cs.findbugs.gui2.BugAspects.SortableValue keyValuePair)
Contains takes a key/value pair
|
BugLeafNode |
get(int index) |
java.lang.String[] |
getAll(Sortables s)
Gets all the string values out of the bugs in the set
|
BugSet |
getBugsMatchingFilter(Matcher m) |
static BugSet |
getMainBugSet()
mainBugSet should probably always be the same as the data field in the
current BugTreeModel we haven't run into any issues where it isn't, but
if the two aren't equal using ==, problems might occur.
|
BugLeafNode |
getUnfiltered(int index) |
int |
indexOf(BugLeafNode p) |
int |
indexOfUnfiltered(BugLeafNode p) |
java.util.Iterator<BugLeafNode> |
iterator() |
BugSet |
query(BugAspects a)
Gives you back the BugSet containing all bugs that match your query
|
int |
size() |
int |
sizeUnfiltered() |
public static BugSet getMainBugSet()
public java.lang.String[] getAll(Sortables s)
s
- The Sortables you want all values forpublic boolean contains(edu.umd.cs.findbugs.gui2.BugAspects.SortableValue keyValuePair)
keyValuePair
- public BugSet query(BugAspects a)
public int sizeUnfiltered()
public int indexOfUnfiltered(BugLeafNode p)
public BugLeafNode getUnfiltered(int index)
public java.util.Iterator<BugLeafNode> iterator()
iterator
in interface java.lang.Iterable<BugLeafNode>
public void clearCache()
public int size()
public int indexOf(BugLeafNode p)
public BugLeafNode get(int index)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.