clear


Description:

public virtual unowned TermList clear ()

Remove all terms from a term list making it ready for reuse.

Note that term list implementations will often have optimized memory allocation schemes so reuse is often more efficient than allocating a new term list each time you need it.

Parameters:

this

The term list to clear

Returns:

Always returns this