clear method

void clear ()
override

Clears this array by removing all its elements.