@Override
  public void clear() {
    if (elementData != null) {
      for (int i = 0; i < size; i++) {
        Content obj = elementData[i];
        removeParent(obj);
      }
      elementData = null;
      size = 0;
    }
    incModCount();
  }
@Override
  public void clear()