Re: [SOLVED] Re: How to know columns names in Derby database table



El Sun, 23 Sep 2007 12:12:50 -0400, Lew escribió:

Hi!

Vector<String> vNames = new Vector<String>();

Are you relying on the synchronization of Vector methods?

I guess so :)

Vector is kind of long in the tooth, and has non-Collection methods that
could cause maintenance difficulty down the road.

Ok.

Why did you choose Vector over, say, ArrayList?

Well, there is no reason... I want to return a String[] and Vector was
the only data type/class I could think with and add method. But after
reading your post I think I'll avoid Vector. As you talk about it, I
think I'll use ArrayList.

Thanks for you answer.

Bye!.

--
Slackware 11.0.0 (kernel 2.6.22 i686) Gnome 2.16.3
Intel(R) Core(TM)2 Quad CPU (2260.386 MHz) up 6 days, 10:36
Hattrick: Zanzabornín (1457021) X.1762 # Jabber: laffdez@xxxxxxxxx
Sokker: C.D. Arrancatapinos (18088) IV.57 # Linux User #99754
.