public boolean remove(Object o) {final RevFlag flag = (RevFlag) o;if ((mask & flag.mask) == 0)return false;mask &= ~flag.mask;for (int i = 0; i < active.size(); i++)if (active.get(i).mask == flag.mask)active.remove(i);return true;}
public override bool Remove(object o){RevFlag flag = (RevFlag)o;if ((mask & flag.mask) == 0){return false;}mask &= ~flag.mask;for (int i = 0; i < active.Count; i++){if (active[i].mask == flag.mask){active.Remove(i);}}return true;}