clear method

void clear()

Implementation

void clear() {
  _nextIndex = 0;
}