AttributePositionLengthAttributeImpl, Tokenpublic interface PositionLengthAttribute extends Attribute
The default value is one.
| Modifier and Type | Method | Description |
|---|---|---|
int |
getPositionLength() |
Returns the position length of this Token.
|
void |
setPositionLength(int positionLength) |
void setPositionLength(int positionLength)
positionLength - how many positions this token
spans.int getPositionLength()
setPositionLength(int)Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.