Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 39655 invoked from network); 21 Jan 2003 18:06:39 -0000 Received: from exchange.sun.com (192.18.33.10) by 208.185.179.12.available.above.net with SMTP; 21 Jan 2003 18:06:39 -0000 Received: (qmail 18971 invoked by uid 97); 21 Jan 2003 18:07:45 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 18917 invoked by uid 97); 21 Jan 2003 18:07:43 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 18856 invoked by uid 98); 21 Jan 2003 18:07:40 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <013301c2c177$c7927b50$57595f50@caesar> From: "Attila Szegedi" To: "Struts Users Mailing List" References: <20030121173030.54419.qmail@web14708.mail.yahoo.com> <011701c2c175$5c440050$57595f50@caesar> <025101c2c177$115976e0$a3f1fc9e@hendrix> Subject: Re: [OT] Not spam...I swear-- Date: Tue, 21 Jan 2003 19:06:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-Authenticated-Sender: 7fb29fdd0d35cc722dfb2a6138d0d2f2 X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N Even with substituting "synchronized" for "serialized" would he be wrong, as both Vector and Hashtable are in fact synchronized (unlike ArrayList and HashMap, respectively). Attila. ----- Original Message ----- From: "Eric C. Hein" To: "Struts Users Mailing List" Sent: Tuesday, January 21, 2003 7:01 PM Subject: Re: [OT] Not spam...I swear-- > I think "NoSect" may have meant "synchronized". > Unlike the new collection implementations, Vector is *synchronized*. > > > ----- Original Message ----- > From: "Attila Szegedi" > To: "Struts Users Mailing List" ; > > 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" > > To: > > 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:mark_galbreath@qat.com] > > > > > > > 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: > > > For additional commands, e-mail: > > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > -- To unsubscribe, e-mail: For additional commands, e-mail: