public SetLength ( int length ) : ICharTermAttribute | ||
length | int | |
리턴 | ICharTermAttribute |
public ICharTermAttribute SetLength(int length)
{
if (length > TermBuffer.Length)
{
throw new System.ArgumentException("length " + length + " exceeds the size of the termBuffer (" + TermBuffer.Length + ")");
}
TermLength = length;
return this;
}