Class GeoPointFactory


  • public class GeoPointFactory
    extends java.lang.Object
    A factory to create GeoPoint object to avoid duplicated objects created for same Lat Lng.
    • Constructor Summary

      Constructors 
      Constructor Description
      GeoPointFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GeoPoint createGeoPoint​(double lat, double lng)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeoPointFactory

        public GeoPointFactory()
    • Method Detail

      • createGeoPoint

        public GeoPoint createGeoPoint​(double lat,
                                       double lng)