reset method

void reset()

Implementation

void reset() {
  _activeIndex = -1;
  _itemRegistry.clear();
}