|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectserver.CalcDistance
public class CalcDistance
calculates the distance between users relying on their locations and countries using online services.
| Constructor Summary | |
|---|---|
CalcDistance()
constructs the Calculator |
|
| Method Summary | |
|---|---|
java.lang.String |
getDistance(StandardUser user1,
StandardUser user2)
calculates the distance between user1 and user2. return value for example "2.2 km" or "5.1 mi" |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalcDistance()
| Method Detail |
|---|
public java.lang.String getDistance(StandardUser user1,
StandardUser user2)
user1 - starting pointuser2 - ending point
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||