com.greenpepper.server.rpc.xmlrpc.CollectionUtil Maven / Gradle / Ivy
package com.greenpepper.server.rpc.xmlrpc;
import java.util.Arrays;
import java.util.Vector;
/**
* Created by oaouattara on 21/01/16.
*
* @author oaouattara
* @version $Id: $Id
*/
public class CollectionUtil {
/**
* toVector.
*
* @param objects a T object.
* @param a T object.
* @return a {@link java.util.Vector} object.
*/
public static Vector toVector( T... objects )
{
return new Vector( Arrays.asList( objects ) );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy