edu.umd.cs.findbugs.gui
Class FindBugsFrame.BugInstanceTypeComparator

java.lang.Object
  extended by edu.umd.cs.findbugs.gui.FindBugsFrame.BugInstanceTypeComparator
All Implemented Interfaces:
java.util.Comparator<BugInstance>
Enclosing class:
FindBugsFrame

private static class FindBugsFrame.BugInstanceTypeComparator
extends java.lang.Object
implements java.util.Comparator<BugInstance>

Compare BugInstance bug types. This is useful for grouping bug instances by bug type. Note that all instances with the same bug type will compare as equal.


Constructor Summary
private FindBugsFrame.BugInstanceTypeComparator()
           
 
Method Summary
 int compare(BugInstance lhs, BugInstance rhs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

FindBugsFrame.BugInstanceTypeComparator

private FindBugsFrame.BugInstanceTypeComparator()
Method Detail

compare

public int compare(BugInstance lhs,
                   BugInstance rhs)
Specified by:
compare in interface java.util.Comparator<BugInstance>