// get_close.java use heapsort to find indices in order by shortest distance // given a point and a list of coordinates public class get_close { get_close() { } public void index2(double x, double y, double xp[], double yp[], int ixk[]) { heapsort H = new heapsort(); int n = xp.length; double far[] = new double[n]; // build distances for(int i=0; i