Code example for Vector

Methods: removeElement

0
    private void addItem(String name) {
	v.addElement(name);
    } 
 
    private void removeItem(String name) {
	v.removeElement(name);
    } 
 
    public void setItem(String name) {
	item = name;
    } 
     
    public void setSubmit(String s) {
	submit = s;
    } 
 
    public String[] getItems() {
	String[] s = new String[v.size()];
	v.copyInto(s);
	return s;
Contextual code suggestions in your IDE  Get Codota for Java