public class City
Constructor and Description |
---|
City(Integer id,
String name,
Coord coordData,
String countryCode,
Long population) |
City() |
Modifier and Type | Method and Description |
---|---|
Integer |
component1() |
String |
component2() |
Coord |
component3() |
String |
component4() |
Long |
component5() |
City |
copy(Integer id,
String name,
Coord coordData,
String countryCode,
Long population) |
boolean |
equals(Object p) |
Coord |
getCoordData() |
String |
getCountryCode() |
Integer |
getId() |
String |
getName() |
Long |
getPopulation() |
boolean |
hasCoordData() |
boolean |
hasCountryCode() |
boolean |
hasId() |
boolean |
hasName() |
boolean |
hasPopulation() |
int |
hashCode() |
String |
toJson() |
String |
toJsonPretty() |
String |
toString() |
public City(Integer id, String name, Coord coordData, String countryCode, Long population)
public City()
public boolean hasId()
public boolean hasName()
public boolean hasCoordData()
public boolean hasCountryCode()
public boolean hasPopulation()
public String toJson()
public String toJsonPretty()
public Integer getId()
public String getName()
public Coord getCoordData()
public String getCountryCode()
public Long getPopulation()
public Integer component1()
public String component2()
public Coord component3()
public String component4()
public Long component5()
public City copy(Integer id, String name, Coord coordData, String countryCode, Long population)
public String toString()
public int hashCode()
public boolean equals(Object p)