clear


Description:

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