Interface DistanceAwareLocation

  • All Superinterfaces:
    java.lang.Comparable<DistanceAwareLocation>, Location
    All Known Implementing Classes:
    DefaultLocation

    public interface DistanceAwareLocation
    extends Location, java.lang.Comparable<DistanceAwareLocation>
    Represents a location that keeps information to a reference GPS position. Such location may be used as Points Of Interest on a map. Such POIs can be easily sorted by the distance value.
    • Method Detail

      • getDistance

        java.lang.Double getDistance()
        returns distance [km] to reference GPS position