This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Vectors contain objects. And since a Vector is an object, you can put a Vector inside a Vector. Does this help? BTW, Vector is outmoded. It is slow and no longer recommended for use. Use a java.util.List instead (java.util.ArrayList is suitable for general use...).
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
As Joel pointed out, use ArrayList instead of Vector. If you need synchronization, you can always use Collections.synchronizedList() to create a List that synchronized. Here is an example of a List that contains lists:
Joined: Sep 09, 2003
What I really need to do is to have something like a Map, but for each entry, I need 6 values. In C++ I would have done it like this