public static double distance(LatLong latLong1, LatLong latLong2) {
        return Math.hypot(latLong1.longitude - latLong2.longitude, latLong1.latitude - latLong2.latitude);
    }
public static double distance ( LatLong latLong1 , LatLong latLong2 ) { return Math . hypot ( latLong1 . longitude - latLong2 . longitude , latLong1 . latitude - latLong2 . latitude ) ; }
Calculate the Euclidean distance between two LatLongs in degrees using the Pythagorean
theorem.

@param latLong1 first LatLong
@param latLong2 second LatLong
@return distance in degrees as a double