Method Reinit
Reinit(Char[], Int32, Int32, Int32, Int32, String)
Shorthand for calling Clear(),
Set
Declaration
public virtual Token Reinit(char[] newTermBuffer, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset, String newType)
Parameters
Type | Name | Description |
---|---|---|
System. |
newTermBuffer | |
System. |
newTermOffset | |
System. |
newTermLength | |
System. |
newStartOffset | |
System. |
newEndOffset | |
System. |
newType |
Returns
Type | Description |
---|---|
Token | this Token instance |
Reinit(Char[], Int32, Int32, Int32, Int32)
Shorthand for calling Clear(),
Set
Declaration
public virtual Token Reinit(char[] newTermBuffer, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset)
Parameters
Type | Name | Description |
---|---|---|
System. |
newTermBuffer | |
System. |
newTermOffset | |
System. |
newTermLength | |
System. |
newStartOffset | |
System. |
newEndOffset |
Returns
Type | Description |
---|---|
Token | this Token instance |
Reinit(String, Int32, Int32, String)
Shorthand for calling Clear(),
Declaration
public virtual Token Reinit(String newTerm, int newStartOffset, int newEndOffset, String newType)
Parameters
Type | Name | Description |
---|---|---|
System. |
newTerm | |
System. |
newStartOffset | |
System. |
newEndOffset | |
System. |
newType |
Returns
Type | Description |
---|---|
Token | this Token instance |
Reinit(String, Int32, Int32, Int32, Int32, String)
Shorthand for calling Clear(),
Declaration
public virtual Token Reinit(String newTerm, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset, String newType)
Parameters
Type | Name | Description |
---|---|---|
System. |
newTerm | |
System. |
newTermOffset | |
System. |
newTermLength | |
System. |
newStartOffset | |
System. |
newEndOffset | |
System. |
newType |
Returns
Type | Description |
---|---|
Token | this Token instance |
Reinit(String, Int32, Int32)
Shorthand for calling Clear(),
Declaration
public virtual Token Reinit(String newTerm, int newStartOffset, int newEndOffset)
Parameters
Type | Name | Description |
---|---|---|
System. |
newTerm | |
System. |
newStartOffset | |
System. |
newEndOffset |
Returns
Type | Description |
---|---|
Token | this Token instance |
Reinit(String, Int32, Int32, Int32, Int32)
Shorthand for calling Clear(),
Declaration
public virtual Token Reinit(String newTerm, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset)
Parameters
Type | Name | Description |
---|---|---|
System. |
newTerm | |
System. |
newTermOffset | |
System. |
newTermLength | |
System. |
newStartOffset | |
System. |
newEndOffset |
Returns
Type | Description |
---|---|
Token | this Token instance |
Reinit(Token)
Copy the prototype token's fields into this one. Note: Payloads are shared.
Declaration
public virtual void Reinit(Token prototype)
Parameters
Type | Name | Description |
---|---|---|
Token | prototype |
Reinit(Token, String)
Copy the prototype token's fields into this one, with a different term. Note: Payloads are shared.
Declaration
public virtual void Reinit(Token prototype, String newTerm)
Parameters
Type | Name | Description |
---|---|---|
Token | prototype | |
System. |
newTerm |
Reinit(Token, Char[], Int32, Int32)
Copy the prototype token's fields into this one, with a different term. Note: Payloads are shared.
Declaration
public virtual void Reinit(Token prototype, char[] newTermBuffer, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
Token | prototype | |
System. |
newTermBuffer | |
System. |
offset | |
System. |
length |