public bool RemoveAll(FwNs.Core.LC.cLib.ICollection <T> c) { Iterator <T> iterator = c.GetIterator(); bool flag = true; while (iterator.HasNext()) { flag &= this.Remove(iterator.Next()); } return(flag); }
public bool AddAll <TT>(FwNs.Core.LC.cLib.ICollection <TT> c) where TT : T { bool flag = false; Iterator <TT> iterator = c.GetIterator(); while (iterator.HasNext()) { flag |= this.Add(iterator.Next()); } return(flag); }
public bool AddAll(FwNs.Core.LC.cLib.ICollection <object> other) { bool flag = false; Iterator <object> iterator = other.GetIterator(); while (iterator.HasNext()) { flag = true; this.Add(iterator.Next()); } return(flag); }
public bool ContainsAll(FwNs.Core.LC.cLib.ICollection <T> col) { Iterator <T> iterator = col.GetIterator(); while (iterator.HasNext()) { if (!this.Contains(iterator.Next())) { return(false); } } return(true); }