boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; TextMateWeigh weigh1 = (TextMateWeigh)o; return weigh == weigh1.weigh && priority == weigh1.priority; }