|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.khelekore.prtree.DistanceResult<T>
T - The node typepublic class DistanceResult<T>
Class to hold object and distance to it
| Constructor Summary | |
|---|---|
DistanceResult(T t,
double dist)
Create a new DistanceResult with a given object and distance |
|
| Method Summary | |
|---|---|
T |
get()
Get the object |
double |
getDistance()
Get the distance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistanceResult(T t,
double dist)
t - the object we are measuring the distance todist - the actual distance to the object| Method Detail |
|---|
public T get()
public double getDistance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||