public Vector(Collection c){
  elementCount=c.size();
  elementData=new Object[(int)Math.min((elementCount * 110L) / 100,Integer.MAX_VALUE)];
  c.toArray(elementData);
}

public Vector ( Collection c ) { elementCount = c . size ( ) ; elementData = new Object [ ( int ) Math . min ( ( elementCount * 110L ) / 100 , Integer . MAX_VALUE ) ] ; c . toArray ( elementData ) ; }
constructs a vector containing the elements of the specified collection , in the order they are returned by the collection ' s iterator .
