Java tutorial
//package com.java2s; import java.util.Vector; public class Main { public static <K> Vector<K> newVector() { return new Vector<K>(); } public static <K> Vector<K> newVector(int size) { return new Vector<K>(size); } }