Grows the termBuffer to at least size newSize, preserving the
existing content. Note: If the next operation is to change
the contents of the term buffer use
{@link #SetTermBuffer(char[], int, int)},
{@link #SetTermBuffer(String)}, or
{@link #SetTermBuffer(String, int, int)}
to optimally combine the resize with the setting of the termBuffer.
Namespace: Lucene.Net.Analysis.TokenattributesAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
char[] ResizeTermBuffer(
int newSize
) |
Visual Basic |
---|
Function ResizeTermBuffer ( _
newSize As Integer _
) As Char() |
Visual C++ |
---|
array<wchar_t>^ ResizeTermBuffer(
int newSize
) |
Return Value
newly created termBuffer with length >= newSize
See Also