*/
public void test_trimToSize() {
// Test for method void java.util.Vector.trimToSize()
Vector v = new Vector(10);
v.addElement(new Object());
v.trimToSize();
assertEquals("Failed to trim capacity", 1, v.capacity());
}
protected Vector vectorClone(Vector s) {
return (Vector) s.clone();