Data Type Java Arrays
I'm looking for a little more insite, I've always used arrays and vectors for what I'm about to explain, but on exploration of a couple more useful methods. I discovered there were a couple more data types that might be used, maybe someone could offer a little insite on the appropriate ussage of some of these data types.
What I'm doing is taking groups of strings(dynamic from a database and not the same amount in each group) and then combining each element of each group to form unique sentances. So What i'm doing currently is dumping each group into a 2-d String array. then using for loops to iterate and combine each combination into sentances. What I'm wondering is using some of the other datatypes LinkedList, ArrayList, Vector, collections.synchronizedList, Seralized Form and I saw a couple others, would any of these perhaps have methods that could do some of the work for me and which would be the best to use and why. Any insite would be injoyable.
i.e. (who, what) (is a, could be a) (dog, cat, mouse, house)
Last edited by InJesus; 01-07-2006 at 02:26 PM.