Converting a 2 dimensional array to a Vector => Basic problem
Meghna ks
Ranch Hand
Joined: Mar 15, 2001
Posts: 122
posted
0
Hi , I have a 2 dimensional array as shown below. How do I convert this to a Vector ?!! I know its a basic problem, but don't seem to find a soln. at the moment. public static final String orders_columns[][] = { { "Severity" , "VARCHAR" }, { "AlarmID" , "VARCHAR" }, { "IP" , "VARCHAR" }, { "Date & Time", "DATE" }, { "Description", "VARCHAR" }, }; Thanks Meghna.
Art Metzer
Ranch Hand
Joined: Oct 31, 2000
Posts: 241
posted
0
Hi, Meghna. The code you'll want to focus on here is in toVector():