Back to project page mycitybikes-android.
The source code is released under:
GNU General Public License
If you think the Android project mycitybikes-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.mycitybikes.android.model; /*w w w.j av a 2s . c o m*/ import com.google.android.maps.GeoPoint; public class City { private final String name; private final String country; private final GeoPoint location; public City(String name, String country, GeoPoint location) { this.name = name; this.country = country; this.location = location; } public String getName() { return name; } public String getCountry() { return country; } public GeoPoint getLocation() { return location; } @Override public String toString() { return new String(name + "," + country + "[" + location + "]"); } }