|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.util.Distance
public class Distance
Constructor Summary | |
---|---|
Distance()
|
Method Summary | |
---|---|
static double |
calculate(double lat1,
double lon1,
double lat2,
double lon2)
|
static double |
kmToMiles(double km)
|
static double |
milesToKm(double miles)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Distance()
Method Detail |
---|
public static double calculate(double lat1, double lon1, double lat2, double lon2)
public static double kmToMiles(double km)
public static double milesToKm(double miles)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |