You don't store Objects in a Vector, you store references to Objects in a Vector. So if you make a change to the Object's state via the reference you have, it's "edited".
Meaning:(code is not compiled, for illustration only)StringBuffer sb = new StringBuffer("init");
Vector v = new Vector();
v.add(sb);
// you can change sb this way, since you've a perfectly good reference to it already
sb.append(" edited");
// or, later, you could change it this way
StringBuffer buf = (StringBuffer)v.get(0);
buf.append(" edited again");
// either way works, and note you don't have to call add again
Good Luck
Lee