public int compare(Object o1, Object o2) { if (((PickData)o1).getDistance() <= ((PickData)o2).getDistance())
public int compare(PickData o1, PickData o2) { if (o1.getDistance() <= o2.getDistance())
        public int compare(Object o1, Object o2) {            if (((PickData)o1).getDistance() <= ((PickData)o2).getDistance())                return -1;            else                return 1;        }