Class UserLocation


  • public class UserLocation
    extends java.lang.Object
    Class holding the user with the latest location.
    Author:
    Christopher Mindus
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Checks for equality.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - The object to compare with.
        Returns:
        When equals, false otherwise.
      • toString

        public java.lang.String toString()
        String representation of the class.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string with user and distance.