Interface DistanceRepository

  • All Known Implementing Classes:
    DistanceRepositoryImpl

    public interface DistanceRepository
    Stores distances between locations.
    • Method Detail

      • saveDistance

        void saveDistance​(Location from,
                          Location to,
                          long distance)
      • deleteDistances

        void deleteDistances​(Location location)
      • deleteAll

        void deleteAll()