Class Domicile

    • Constructor Detail

      • Domicile

        public Domicile()
    • Method Detail

      • setLocation

        public void setLocation​(Location location)
      • getDistanceTo

        public long getDistanceTo​(Standstill standstill)
        Specified by:
        getDistanceTo in interface Standstill
        Parameters:
        standstill - never null
        Returns:
        a positive number, the distance multiplied by 1000 to avoid floating point arithmetic rounding errors