clear


Description:

[ Version ( since = "2.14" ) ]
public void clear ()

Removes all the elements in this.

If queue elements contain dynamically-allocated memory, they should be freed first.

Parameters:

this

a Queue