private PendingApply getPending() { if (pendingApply == null) { pendingApply = new PendingApply(); } return pendingApply; }
private void applyPending() { getPending().apply(this); }
public synchronized void __tc_applicator_remove(Object key) { getPending().remove(key); }
public synchronized void __tc_applicator_put(Object key, Object value) { getPending().put(key, value); }
private PendingApply getPending() { if (pendingApply == null) { pendingApply = new PendingApply(); } return pendingApply; }
private void applyPending() { if (pendingApply != null) { pendingApply.apply(this); } }
@Override public synchronized boolean add(Object value) { value = resolveValue(value); Element e = (Element) value; if (initialized) { applyAdd(e); } else { getPending().add(e); } return true; }
public synchronized void __tc_applicator_clear() { getPending().clear(); }
private void applyPending() { if (pendingApply != null) { pendingApply.apply(this); } }
@Override public synchronized boolean add(Object value) { value = resolveValue(value); Element e = (Element) value; if (initialized) { applyAdd(e); } else { getPending().add(e); } return true; }
@Override public synchronized boolean remove(Object value) { value = resolveValue(value); Element e = (Element) value; if (initialized) { applyRemove(e); } else { getPending().remove(e); } return true; }
private PendingApply getPending() { if (pending == null) { pending = new PendingApply(); } return pending; }
@Override public synchronized boolean remove(Object value) { value = resolveValue(value); Element e = (Element) value; if (initialized) { applyRemove(e); } else { getPending().remove(e); } return true; }