clear method

void clear()

clear the stack.

Implementation

void clear() {
  dynamicQueue.clear();
}