Interface DistanceAwareLocation

All Superinterfaces:
Comparable<DistanceAwareLocation>, Location
All Known Implementing Classes:
DefaultLocation

public interface DistanceAwareLocation extends Location, 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 Details

    • getDistance

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