app / sg.edu.ntu.scse.cz2006.gymbuddies.datastruct / GymList

GymList

data class GymList

Data Structure to store the data from the gym JSON file Note that this is just an outer shell. Access gyms for the actual data For sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!

Author
Kenneth Soh

Since
2019-09-17

Types

GymGeometry

Inner class containing the latitude and longitude of the gym location

data class GymGeometry

GymProperties

Inner class containing all of the gym properties

data class GymProperties

GymShell

Inner class to handle the gym objects from the JSON file

data class GymShell

Constructors

<init>

Creates the object that is used to store the data from the JSON file

GymList(name: String = "", gyms: ArrayList<GymShell> = ArrayList())

Properties

gyms

ArrayList List of all gyms

val gyms: ArrayList<GymShell>

name

Name of the dataset

val name: String