private boolean addToRemoved(int inputId) {
    if (myInvalidated == null) {
      myInvalidated = new IntOpenHashSet(1);
    }
    return myInvalidated.add(inputId);
  }
private boolean addToRemoved(int inputId)