public boolean addAll(int index, IntCollection collection) { boolean modified = false; for (IntIterator iter = collection.iterator(); iter.hasNext(); ) { add(index++, iter.next()); modified = true; } return modified; }
public ArrayIntList(IntCollection that) { this(that.size()); addAll(that); }