modnlp.idx.inverted.jpsegmenter
public class PushbackCodePointReader extends java.lang.Object implements CodePointReader
Constructor and Description |
---|
PushbackCodePointReader(CodePointReader reader,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
getAlternationCodePoint()
????????????????????????????
|
long |
getPosition()
?????????????????????
????????????char?????????
?????????????????2??????
|
int |
getStackSize() |
int |
read()
???????????????
|
void |
reset()
??????????
|
void |
setAlternationCodePoint(int cp)
?????????????????????????????
?????????????????????
??????
|
void |
unread(int cp,
int length)
???????????????????
|
public PushbackCodePointReader(CodePointReader reader, int size)
public void setAlternationCodePoint(int cp)
CodePointReader
setAlternationCodePoint
in interface CodePointReader
cp
- ????????????public int getAlternationCodePoint()
CodePointReader
getAlternationCodePoint
in interface CodePointReader
public long getPosition()
CodePointReader
getPosition
in interface CodePointReader
public int getStackSize()
public int read() throws java.io.IOException
CodePointReader
read
in interface CodePointReader
java.io.IOException
public void reset()
CodePointReader
reset
in interface CodePointReader
public void unread(int cp, int length) throws java.io.IOException
cp
- ????????????????length
- cp???char??????java.io.IOException