Class Location


  • public class Location
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Location​(java.lang.String item, java.lang.String location)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getItem()  
      java.lang.String getLocation()  
      int hashCode()  
      void setItem​(java.lang.String item)  
      void setLocation​(java.lang.String location)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Location

        public Location​(java.lang.String item,
                        java.lang.String location)
    • Method Detail

      • getItem

        public java.lang.String getItem()
      • setItem

        public void setItem​(java.lang.String item)
      • getLocation

        public java.lang.String getLocation()
      • setLocation

        public void setLocation​(java.lang.String location)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object