Class DuplicateSequenceAttributeImpl

    • Method Summary

      Modifier and Type Method Description
      void clear()  
      void copyTo​(org.apache.lucene.util.AttributeImpl target)  
      short getNumPriorUsesInASequence()  
      void reflectWith​(org.apache.lucene.util.AttributeReflector reflector)  
      void setNumPriorUsesInASequence​(short len)  
      • Methods inherited from class org.apache.lucene.util.AttributeImpl

        clone, end, reflectAsString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • numPriorUsesInASequence

        protected short numPriorUsesInASequence
    • Constructor Detail

      • DuplicateSequenceAttributeImpl

        public DuplicateSequenceAttributeImpl()
    • Method Detail

      • clear

        public void clear()
        Specified by:
        clear in class org.apache.lucene.util.AttributeImpl
      • copyTo

        public void copyTo​(org.apache.lucene.util.AttributeImpl target)
        Specified by:
        copyTo in class org.apache.lucene.util.AttributeImpl
      • getNumPriorUsesInASequence

        public short getNumPriorUsesInASequence()
        Specified by:
        getNumPriorUsesInASequence in interface DuplicateSequenceAttribute
        The number of times this token has been seen previously as part of a sequence (counts to a max of 255)
      • reflectWith

        public void reflectWith​(org.apache.lucene.util.AttributeReflector reflector)
        Specified by:
        reflectWith in class org.apache.lucene.util.AttributeImpl