Class ExtendedGeoPoint

  • All Implemented Interfaces:
    java.io.Serializable

    @StableMinor(version="15.0",
                 sinceVersion="10.2")
    public class ExtendedGeoPoint
    extends GeoPoint
    Represents an extended version of GeoPoint. Besides latitude and longitude, provides optional geographic information, like city, state and country.
    Since:
    10.2.0
    Version:
    $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
    See Also:
    Serialized Form
    • Method Detail

      • getCity

        public java.util.Optional<City> getCity()
        Returns an optional city information.
        Returns:
        an optional city information.
        Since:
        10.2.0
      • getState

        public java.util.Optional<State> getState()
        Returns an optional state information.
        Returns:
        an optional state information.
        Since:
        10.2.0
      • getCountry

        public java.util.Optional<Country> getCountry()
        Returns an optional country information.
        Returns:
        an optional country information.
        Since:
        10.2.0