Class that holds data of a city.  
 More...
Class that holds data of a city. 
A user would not normally create an City object but rather obtain one from calling bridges::connect::DataSource::getUSCitiesData(), bridges::connect::DataSource::getWorldCities() (to come)
A tutorial on how to use the City objects is available at: https://bridgesuncc.github.io/tutorials/Data_USCities.html
Each city object contains the city name, state, country, time zone, elevation, population and lat/long location information.
- Author
- Kalpathi Subramanian
- Date
- 6/7/22 
◆ City() [1/2]
      
        
          | bridges.data_src_dependent.City.City | ( |  | ) |  | 
      
 
 
◆ City() [2/2]
      
        
          | bridges.data_src_dependent.City.City | ( | String | cty, | 
        
          |  |  | String | st, | 
        
          |  |  | String | cntry, | 
        
          |  |  | String | tm_zone, | 
        
          |  |  | int | elev, | 
        
          |  |  | int | pop, | 
        
          |  |  | float | lat, | 
        
          |  |  | float | lon | 
        
          |  | ) |  |  | 
      
 
 
◆ getCity()
      
        
          | String bridges.data_src_dependent.City.getCity | ( |  | ) |  | 
      
 
 
◆ getCountry()
      
        
          | String bridges.data_src_dependent.City.getCountry | ( |  | ) |  | 
      
 
 
◆ getElevation()
      
        
          | int bridges.data_src_dependent.City.getElevation | ( |  | ) |  | 
      
 
 
◆ getLatitude()
      
        
          | float bridges.data_src_dependent.City.getLatitude | ( |  | ) |  | 
      
 
 
◆ getLongitude()
      
        
          | float bridges.data_src_dependent.City.getLongitude | ( |  | ) |  | 
      
 
 
◆ getPopulation()
      
        
          | int bridges.data_src_dependent.City.getPopulation | ( |  | ) |  | 
      
 
 
◆ getState()
      
        
          | String bridges.data_src_dependent.City.getState | ( |  | ) |  | 
      
 
 
◆ getTimeZone()
      
        
          | String bridges.data_src_dependent.City.getTimeZone | ( |  | ) |  | 
      
 
 
◆ setCity()
      
        
          | void bridges.data_src_dependent.City.setCity | ( | String | c | ) |  | 
      
 
 
◆ setCountry()
      
        
          | void bridges.data_src_dependent.City.setCountry | ( | String | cntry | ) |  | 
      
 
 
◆ setElevation()
      
        
          | void bridges.data_src_dependent.City.setElevation | ( | int | elev | ) |  | 
      
 
 
◆ setLatitude()
      
        
          | void bridges.data_src_dependent.City.setLatitude | ( | float | lat | ) |  | 
      
 
 
◆ setLongitude()
      
        
          | void bridges.data_src_dependent.City.setLongitude | ( | float | lon | ) |  | 
      
 
 
◆ setPopulation()
      
        
          | void bridges.data_src_dependent.City.setPopulation | ( | int | pop | ) |  | 
      
 
 
◆ setState()
      
        
          | void bridges.data_src_dependent.City.setState | ( | String | st | ) |  | 
      
 
 
◆ setTimeZone()
      
        
          | void bridges.data_src_dependent.City.setTimeZone | ( | String | tz | ) |  | 
      
 
 
The documentation for this class was generated from the following file:
- bridges-java/src/main/java/bridges/data_src_dependent/City.java