Class City


  • public class City
    extends Object
    The city class to represent the city information from the given "JSON round".
    • Constructor Detail

      • City

        public City​(String name)
      • City

        public City()
    • Method Detail

      • getConnectionsForJson

        public String[] getConnectionsForJson()
        Return the connections to the other cities as String array for the city serialization.
        Returns:
        The connections of the given City as String array.