Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public ArrayIntList(IntCollection that) {
   this(that.size());
   addAll(that);
 }