Class StringTag

java.lang.Object
it.uniroma1.lcl.babelnet.data.StringTag
All Implemented Interfaces:
Tag<String>

public class StringTag extends Object implements Tag<String>
A string tag associated to a BabelSynset.
Author:
natavio
  • Constructor Details

    • StringTag

      public StringTag(String stringTag)
      Creates a new instance of StringTag.
      Parameters:
      stringTag - the string tag
  • Method Details

    • getValue

      public String getValue()
      Description copied from interface: Tag
      Returns the tag value.
      Specified by:
      getValue in interface Tag<String>
      Returns:
      the tag value
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object