Class TextDescription

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String value()  
      • Methods inherited from class java.lang.Object

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

      • TextDescription

        public TextDescription​(java.lang.String value)
        Creates a new TextDescription.
        Parameters:
        value - the value of this description.
        Throws:
        java.lang.NullPointerException - if the given value is null.
    • Method Detail

      • value

        public java.lang.String value()
        Specified by:
        value in class Description
        Returns:
        the value of this description.
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object