Class WordsElementsFactory.WordElement

    • Constructor Detail

      • WordElement

        public WordElement​(DocumentSource source,
                           java.lang.String word,
                           java.lang.String gutter)
    • Method Detail

      • getString

        public java.lang.String getString()
        Description copied from interface: Document.Element
        Returns the string representation of this element. If the elements were generated originally from a string they should return the exact string again.
        Specified by:
        getString in interface Document.Element
        Returns:
        the string of this element.
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

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