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

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

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

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


Constructor Summary
private FindBugsFrame.BugInstancePackageComparator()
           
 
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.BugInstancePackageComparator

private FindBugsFrame.BugInstancePackageComparator()
Method Detail

compare

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