public boolean addAll(int index, ByteCollection collection) { boolean modified = false; for (ByteIterator iter = collection.iterator(); iter.hasNext(); ) { add(index++, iter.next()); modified = true; } return modified; }
/* */ public boolean addAll(long index, ByteCollection c) { /* 578 */ ensureIndex(index); /* 579 */ this.to += c.size(); /* */ /* 585 */ return this.l.addAll(this.from + index, c); /* */ }