java 从list里删除某些元素

for (Iterator it = list_tag.iterator(); it.hasNext();) {
     Report r = (Report) it.next();
     if (r.getId().equals(id)) {
      it.remove();
     }
    }