question: protected static Vector convertToVector ( Object [ ] anArray ) { if ( anArray == null ) { return null ; } Vector < Object > v = new Vector < Object > ( anArray . length ) ; for ( Object o : anArray ) { v . addElement ( o ) ; } return v ; }
target:  Returns a vector that contains the same objects as the array.