int csize = c.size(); elementData = new Object[csize]; elementCount = csize; Iterator itr = c.iterator(); for (int i = 0; i < csize; i++) { elementData[i] = itr.next(); }
this(10);
  public Vector(Collection c)  {    int csize = c.size();    elementData = new Object[csize];    elementCount = csize;    Iterator itr = c.iterator();    for (int i = 0; i < csize; i++)      {	elementData[i] = itr.next();      }  }