public bool RemoveAll(LongArray array) { int length = this.length; int startlength = length; long[] items = this.items; for (int i = 0, n = array.length; i < n; i++) { long item = array.Get(i); for (int ii = 0; ii < length; ii++) { if (item == items[ii]) { RemoveIndex(ii); length--; break; } } } return(length != startlength); }
public LongArray Concat(LongArray o) { return(new LongArray(Concat(this.items, this.length, o.items, o.length))); }
public void AddAll(LongArray array) { AddAll(array, 0, array.length); }