Method Clone
Clone()
Declaration
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
Clone(Char[], Int32, Int32, Int32, Int32)
Makes a clone, but replaces the term buffer &
start/end offset in the process. This is more
efficient than doing a full clone (and then calling
CopyBuffer(Char[], Int32, Int32)) because it saves a wasted copy of the old
termBuffer.
Declaration
public virtual Token Clone(char[] newTermBuffer, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset)
Parameters
Type |
Name |
Description |
System.Char[] |
newTermBuffer |
|
System.Int32 |
newTermOffset |
|
System.Int32 |
newTermLength |
|
System.Int32 |
newStartOffset |
|
System.Int32 |
newEndOffset |
|
Returns