public void invertSelection() {
    final int count = getElementCount();
    for (int i = 0; i < count; i++) {
      T type = getElementAt(i);
      setElementMarked(type, !isElementMarked(type));
    }
    myStatisticsCollectors.forEach(StatisticsCollector::selectionInverted);
  }
public void invertSelection()