public int CompareTo(Landmark other) { if (CrhcConstants.LANDMARK_SORTORDER == SortOrder.NAME) { return(getName().CompareTo(other.getName())); } else { return(getNumber().CompareTo(other.getNumber())); } }
public int CompareTo(Landmark other) { if (CrhcConstants.LANDMARK_SORTORDER == SortOrder.NAME) { return(getName().CompareTo(other.getName())); } else { return(getNumber().CompareTo(other.getNumber())); } }