@SuppressWarnings("unchecked")
  @Override
  public void removeElement(Object obj) {
    T item = ((T) obj);
    remove(item);
  }
@SuppressWarnings("unchecked")
  @Override
  public void removeElement(Object obj)