| A Vector is an Object. Vectors contain Objects. Ergo, a Vector can contain Vectors just like any other Object.
It sounds like you might want to create a new class to contain your values rather than use a Vector. Unless you're using Java 1.5, you'll have a lot of casting back and forth, as those ints will need to be put into Integers and then pulled out.
You can then put your new class into a Vector (although I'd suggest ArrayList as a lighter-weight class). |