Mark, HashTables should never be worn after Labor day.
----- Original Message ----- From: "NoSect" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 9:30 AM 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]>