Class TagAndLocation


  • public class TagAndLocation
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int location  
      private java.lang.String tag  
    • Constructor Summary

      Constructors 
      Constructor Description
      TagAndLocation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLocation()
      Retrieves the location of the object.
      java.lang.String getTag()
      Retrieves the tag of the object.
      void setLocation​(int location)
      Sets the location of the object.
      void setTag​(java.lang.String tag)
      Sets the tag of the object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • tag

        private java.lang.String tag
      • location

        private int location
    • Constructor Detail

      • TagAndLocation

        public TagAndLocation()
    • Method Detail

      • getTag

        public java.lang.String getTag()
        Retrieves the tag of the object.
        Returns:
        tag
      • setTag

        public void setTag​(java.lang.String tag)
        Sets the tag of the object.
        Parameters:
        tag - tag
      • getLocation

        public int getLocation()
        Retrieves the location of the object.
        Returns:
        location
      • setLocation

        public void setLocation​(int location)
        Sets the location of the object.
        Parameters:
        location - location