PriorityQueue distanceQueue = new PriorityQueue(PriorityQueue.SORT_ORDER_DESCENDING);
createNearestNDistanceQueue(p, count, distanceQueue, furthestDistance);
while (distanceQueue.size() > 0) {
v.execute(distanceQueue.getValue());
distanceQueue.pop();
}
}
/**
* @see net.sf.jsi.SpatialIndex#nearestN(Point, TIntProcedure, int, float)