Class QueryOperation.Location

  • Enclosing class:
    QueryOperation<T>

    public static class QueryOperation.Location
    extends java.lang.Object
    Model representing coordinates for query operations.
    • Constructor Summary

      Constructors 
      Constructor Description
      Location​(double latitude, double longitude)
      Create a location based on its coodinates.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Location

        public Location​(double latitude,
                        double longitude)
        Create a location based on its coodinates.
        Parameters:
        latitude - of this location.
        longitude - of this location.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        returns a url friendly representation.