@StableMinor(version="12.3", sinceVersion="10.2") public class City extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
Optional<Integer> |
getGeoNameId()
Returns an optional geo name identifier.
|
Optional<String> |
getName(Locale... locales)
Returns an optional name of this city that is in some of the given locales.
|
Map<Locale,String> |
getNames()
Returns an unmodifiable map of this city names, grouped by locale.
|
public Map<Locale,String> getNames()
public Optional<String> getName(Locale... locales)
locales
- the locales.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.