Vector v = getListeners();
List v = getListeners();
    public void writeObject(ObjectOutputStream s) throws IOException {        s.defaultWriteObject();	Vector v = getListeners();	if (v != null) {	    Iterator it = v.iterator();	    while (it.hasNext()) {	        Object obj = it.next();	        if (obj instanceof Serializable) {	            s.writeObject(obj);	        }            }        }        s.writeObject(null);    }