void clear( )

Removes all elements in the set.

Source

/**
 * Removes all elements in the set.
 */
void clear();