boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ArrangementGroupingRule rule = (ArrangementGroupingRule)o; if (myOrderType != rule.myOrderType) return false; if (!myGroupingType.equals(rule.myGroupingType)) return false; return true; }