Class Tag

    • Constructor Detail

      • Tag

        public Tag()
    • Method Detail

      • setKey

        public void setKey​(String key)
        Parameters:
        key -
      • getKey

        public String getKey()
        Returns:
      • withKey

        public Tag withKey​(String key)
        Parameters:
        key -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setValue

        public void setValue​(String value)
        Parameters:
        value -
      • getValue

        public String getValue()
        Returns:
      • withValue

        public Tag withValue​(String value)
        Parameters:
        value -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object