@Override
  public void addToModel(int idx, T element) {
    ThreadingAssertions.assertEventDispatchThread();
    myDelegate.add(Math.min(idx, getSize()), wrap(element));
  }
@Override
  public void addToModel(int idx, T element)