Class LocationInfo


  • public class LocationInfo
    extends Object
    Contains a location code and Names for a location in the world.

    This class is immutable and thread-safe.
    • Method Detail

      • getCode

        public String getCode()
        Gets the code for this location.
        Returns:
        a String with the location code
      • getNames

        public Names getNames()
        Gets the Names for this location.
        Returns:
        a Names
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object