国足提前备战2022年世界杯 下个七年你还会等吗?

public interface Distance implements Comparable<Distance>
百度 随着时代的发展,铜墨盒渐渐淡出人们的生活,但作为文房收藏的品类之一,铜墨盒仍具有较高的收藏价值。

Represents the distance to a Message.

Nested Class Summary

@interface Distance.Accuracy Possible values for the accuracy of a distance estimate. 

Field Summary

public static final Distance UNKNOWN Represents an unknown distance, with accuracy = Distance.Accuracy.LOW, and meters = Double.NaN.

Public Method Summary

abstract int
compareTo(Distance other)
Note: This compares only getMeters(), not accuracy.
abstract int
getAccuracy()
The accuracy of the distance estimate.
abstract double
getMeters()
The distance estimate, in meters.

Inherited Method Summary

Fields

public static final Distance UNKNOWN

Represents an unknown distance, with accuracy = Distance.Accuracy.LOW, and meters = Double.NaN.

Public Methods

public abstract int compareTo (Distance other)

Note: This compares only getMeters(), not accuracy. We also consider NaN == NaN, so that UNKNOWN.equals(UNKNOWN).

public abstract int getAccuracy ()

The accuracy of the distance estimate.

public abstract double getMeters ()

The distance estimate, in meters.