I think "NoSect" may have meant "synchronized". Unlike the new collection implementations, Vector is *synchronized*.
----- Original Message ----- From: "Attila Szegedi" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 9:48 AM Subject: Re: [OT] Not spam...I swear-- > Wrong. Hashtables are serializable just fine. > > Attila. > > ----- Original Message ----- > From: "NoSect" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 21, 2003 6:30 PM > Subject: RE: [OT] Not spam...I swear-- > > > > Vectors are also serialized....hashtables not. > > > From: Mark Galbreath [mailto:[EMAIL PROTECTED]] > > > > > Sent: Tuesday, January 21, 2003 11:29 AM > > > > > To: 'Struts Users Mailing List' > > > > > Subject: RE: [OT] Not spam...I swear-- > > > > > > > > > > > > > > > So...what IS the difference? > > > > Well, for one thing, trying to do "vectorInstance.put(key, value);" > > > > won't compile :-) > > > > Vectors are ordered lists, Hashtables (or HashMaps as they are commonly > > > > invoked in Java) are key/value association tables. > > > > This concludes today's Java 101. > > > > > > > > > > > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>