19 package org.turro.contacts.util;
21 import java.util.Comparator;
22 import org.turro.contacts.BusinessRelation;
23 import org.turro.contacts.organigram.RelationType;
24 import org.turro.util.CompareUtil;
41 if(rt1 !=
null && rt2 !=
null) {
42 result = CompareUtil.compare((rt1.
getGroup() * 10000) + rt1.
getLevel(), (rt2.getGroup() * 10000) + rt2.getLevel());
51 result = CompareUtil.compare(id1, id2);
56 result = CompareUtil.compare(id1, id2);
59 result = CompareUtil.compare(o1.
getId(), o2.
getId());