|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecticecube.daq.domcal.CalibratorComparator
public class CalibratorComparator
Compare calibration data.
Method Summary | |
---|---|
static int |
compare(Calibrator c1,
Calibrator c2)
Compare calibration data. |
static int |
compare(Calibrator c1,
Calibrator c2,
boolean verbose)
Compare calibration data. |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare calibration data. |
boolean |
equals(java.lang.Object obj)
Silly implementation to check for equality to another CalibratorComparator. |
int |
hashCode()
Silly implementation to provide lame hash code. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
o1
- first object being comparedo2
- second object being compared
public static final int compare(Calibrator c1, Calibrator c2)
c1
- first set of calibration datac2
- second set of calibration data
public static final int compare(Calibrator c1, Calibrator c2, boolean verbose)
c1
- first set of calibration datac2
- second set of calibration dataverbose
- true to print reason for inequality
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Comparator
equals
in class java.lang.Object
obj
- object being compared
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |