app / sg.edu.ntu.scse.cz2006.gymbuddies / CarparkAndSearchResultActivity / processCarpark

processCarpark

private fun processCarpark(results: ArrayList<Pair<CarPark, Float>>, gym: GymShell): Unit

Function used to process and retrieve the nearest 10 carparks from the selected gym

Parameters

results - ArrayList<Pair<CarPark, Float>> List of all carparks and their distance to the selected gym

gym - GymShell Selected gym object