Class PositionIncrementAttributeImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int positionIncrement  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Clears the values in this AttributeImpl and resets it to its default value.
      void copyTo​(AttributeImpl target)
      Copies the values from this Attribute into the passed-in target attribute.
      void end()
      Clears the values in this AttributeImpl and resets it to its value at the end of the field.
      boolean equals​(java.lang.Object other)  
      int getPositionIncrement()
      Returns the position increment of this Token.
      int hashCode()  
      void reflectWith​(AttributeReflector reflector)
      This method is for introspection of attributes, it should simply add the key/values this attribute holds to the given AttributeReflector.
      void setPositionIncrement​(int positionIncrement)
      Set the position increment.
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, toString, wait, wait, wait