Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openfuture.bugbase.model
Class BugReportIdComparator  view BugReportIdComparator download BugReportIdComparator.java

java.lang.Object
  extended byopenfuture.bugbase.model.BugReportIdComparator
All Implemented Interfaces:
java.util.Comparator

public class BugReportIdComparator
extends java.lang.Object
implements java.util.Comparator

Compares two bug reports by their ID 55 .

Created: Fri Mar 09 06:27:29 2001

Version:
$Revision: 1.3 $

Constructor Summary
BugReportIdComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compare two objects.
static int compareId(java.lang.Integer id1, java.lang.Integer id2)
          Compare two integers (possibly null).
 
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

BugReportIdComparator

public BugReportIdComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compare two objects. If o1 and o1 are bug reports, their ID 55 is compared.

Specified by:
compare in interface java.util.Comparator

compareId

public static int compareId(java.lang.Integer id1,
                            java.lang.Integer id2)
Compare two integers (possibly null).