@StableMinor(version="12.0", sinceVersion="10.2") public class City extends Object
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.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.