Class Link

    • Constructor Detail

      • Link

        public Link​(String value)
        Constructs a new Link object with the specified value. This object cannot be modified after construction.
    • Method Detail

      • getValue

        public String getValue()
        Returns the value of this Link.
      • hashCode

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

        public boolean equals​(@Nullable Object object)
        Two Link objects are considered equal if their content strings match exactly.
        Overrides:
        equals in class Object
      • toString

        public String toString()
        Returns the entire text of this Link.
        Overrides:
        toString in class Object