Uses of Class
com.ehealthsystem.map.DoctorDistance
-
Uses of DoctorDistance in com.ehealthsystem.appointment
Modifier and TypeMethodDescriptionprivate void
AppointmentFoundController.loadDoctors
(ArrayList<DoctorDistance> doctorList) dynamically load the doctors in the grid pane -
Uses of DoctorDistance in com.ehealthsystem.doctor
Modifier and TypeFieldDescription(package private) DoctorDistance
FoundDoctorController.doctor
distance to the doctorprivate DoctorDistance
FoundDoctorFullController.doctor
Modifier and TypeMethodDescriptionvoid
FoundDoctorController.setData
(DoctorDistance doctor, String doctorGeoData, double distance) Method to set the doctor's information when scene is loaded from outsidevoid
FoundDoctorFullController.setDoctor
(DoctorDistance doctor) set the doctor selected in the scene before -
Uses of DoctorDistance in com.ehealthsystem.map
Modifier and TypeMethodDescriptionstatic ArrayList<DoctorDistance>
GeoDistance.filterDoctorsInRangeBatchRequest
(ArrayList<Doctor> doctors, String userGeoData, double range) Reduce a list of doctors to only include ones that are in a specific range from the user, determining the distance using Google Maps DistanceMatrix API, sent in a single batch requeststatic ArrayList<DoctorDistance>
GeoDistance.filterDoctorsInRangeIndividualRequests
(ArrayList<Doctor> doctors, String userGeoData, double range) Reduce a list of doctors to only include ones that are in a specific range from the user, determining the distance using Google Maps DistanceMatrix API, requests sent individuallystatic ArrayList<DoctorDistance>
GeoDistance.filterDoctorsInRangeWithLocalCalculation
(ArrayList<Doctor> doctors, com.google.maps.model.LatLng location, double range) Reduce a list of doctors to only include ones that are in a specific range from the user, determining the distance using local calculation (Haversine formula)