matrices.put((T)hbg, bg.matrices.get(hbg).times(m));
hbg.bindingGroup = this;
}
+ HashSet<HasBindingGroup> stuff = new HashSet<HasBindingGroup>();
for(HasBindingGroup hbg : bg.matrices.keySet())
- hbg.bindingGroupChanged(this);
+ stuff.add(hbg);
bg.matrices.clear();
bg.master = null;
+ for(HasBindingGroup hbg : stuff)
+ hbg.bindingGroupChanged(this);
}
public T getMaster() { return master; }