目录

CLASS info
public interface Distance
Represents APIs related to distance information.

Nested Class Summary

TypeNameDesc
@interfaceDistance.PrecisionDistance estimation precision.

Field Summary

TypeNameDesc
DistanceDISTANCE_UNKNOWNUnknown distance.

Public Method Summary

Return typeMethod name
abstract intcompareTo(Distance other)
Compares the estimated distance with another Distance object (precision not compared).
abstract intgetPrecision()
Returns the precision of the estimated instance.
abstract double
getMeters
()
Returns the estimated distance, in m.

Public Methods

Method
public abstract int compareTo(Distance other)
Compares the estimated distance with another Distance object (precision not compared).
Method
public abstract int getPrecision()
Returns the precision of the estimated instance.
Method
public abstract double getMeters()
Returns the estimated distance, in m.