Package org.apache.lucene.analysis.ko
Class KoreanTokenizer.WrappedPositionArray
java.lang.Object
org.apache.lucene.analysis.ko.KoreanTokenizer.WrappedPositionArray
- Enclosing class:
KoreanTokenizer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate KoreanTokenizer.Position[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfreeBefore(int pos) get(int pos) Get Position instance for this absolute position; this is allowed to be arbitrarily far "in the future" but cannot be before the last freeBefore.private intgetIndex(int pos) intprivate booleaninBounds(int pos) voidreset()
-
Field Details
-
positions
-
nextWrite
private int nextWrite -
nextPos
private int nextPos -
count
private int count
-
-
Constructor Details
-
WrappedPositionArray
public WrappedPositionArray()
-
-
Method Details
-
reset
public void reset() -
get
Get Position instance for this absolute position; this is allowed to be arbitrarily far "in the future" but cannot be before the last freeBefore. -
getNextPos
public int getNextPos() -
inBounds
private boolean inBounds(int pos) -
getIndex
private int getIndex(int pos) -
freeBefore
public void freeBefore(int pos)
-