public abstract boolean isHot(ITrace tr);
protected int compare(Object obj1, Object obj2) {
ITrace tr1 = (ITrace) obj1;
ITrace tr2 = (ITrace) obj2;
double d = getValue(tr1) - getValue(tr2);
int d2 = d > 0 ? 1 : -1;
if (d == 0) {
d2 = 0;
}
return -(d2 != 0 ? d2 : tr1.getName().compareTo(tr2.getName()));
}