我被分配了一个编程任务,我必须做的一件事是实现一个包装器方法,它依赖于另一种方法来将坐标从最低到最高排序。我不确定实现包装器方法的确切含义。
static void sortCoordsByZ(double[][] coords) {
//implement the wrapper method for the recursive sort method. all work is done the recursive sort method
}
static void recursiveSort(double[][] coords, int lo, int hi) {
//recursive sort method
}