Allows you to use any List implementation (Vector, ArrayList, LinkedList) first of all, and thus use a non-synchronized list implementation like ArrayList. Vector is just a JDK 1.1'ism to me...
We must keep Vector anywhere it appears in the API of a class, but anywhere else we should prefer Java2 Collections IMO. --DD > -----Original Message----- > From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 21, 2003 1:21 PM > To: Ant Developers List > Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/mail > MailMessageTest.java > > What is the advantage of List compared to Vector ? > Antoine > ----- Original Message ----- > From: "Dominique Devienne" <[EMAIL PROTECTED]> > To: "'Ant Developers List'" <[EMAIL PROTECTED]> > Sent: Thursday, August 21, 2003 6:46 PM > Subject: RE: cvs commit: ant/src/testcases/org/apache/tools/mail > MailMessageTest.java > > > > Too bad you can't use LinkedHashMap. > > > > OTOH, you could use List instead of Vector, now that Java 1.2 is OK... > > > > --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]