Here you can find the source of makeVector(String[] O)
public static Vector makeVector(String[] O)
//package com.java2s; /*/*from w w w . j a v a 2s. c o m*/ Copyright 2001-2015 Bo Zimmerman Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ import java.util.*; public class Main { public static Vector makeVector(String[] O) { final Vector V = new Vector(); if (O != null) for (final String element : O) V.addElement(element); return V; } public static Vector makeVector() { return new Vector(); } public static Vector makeVector(Object O) { final Vector V = new Vector(); V.addElement(O); return V; } public static Vector makeVector(Object O, Object O2) { final Vector V = new Vector(); V.addElement(O); V.addElement(O2); return V; } public static Vector makeVector(Object O, Object O2, Object O3) { final Vector V = new Vector(); V.addElement(O); V.addElement(O2); V.addElement(O3); return V; } public static Vector makeVector(Object O, Object O2, Object O3, Object O4) { final Vector V = new Vector(); V.addElement(O); V.addElement(O2); V.addElement(O3); V.addElement(O4); return V; } }