Code example for ConcurrentModificationException

0
 
  private static synchronized void c(dri paramdri)
  { 
    Set localSet = (Set)ltC.get(paramdri.dTE);
    if (!localSet.contains(paramdri))
      throw new ConcurrentModificationException();
  } 
 
  dri(Object paramObject, Iterator paramIterator)
  { 
    if (paramObject == null) {
      throw new IllegalArgumentException("parent object is null");
    } 
    if (paramIterator == null) {
      throw new IllegalArgumentException("cannot wrap null iterator");
    } 
    this.dTE = paramObject;
    if (paramIterator.hasNext()) {
      this.ltD = paramIterator;
      a(this);
    }