If you want it to hold 'primitive' types, like integers, floats, doubles, etc...
You can wrap these values in their respective Object types and store those in the Vector. Getting them out again is a bit trickier.
posted 14 years ago
Which means that if you want to put a primitive in one, then you need to put it in a wrapper object. So you would put a double in a Double object etc. In which case, vectors can hold anything (sort of).
"JavaRanch, where the deer and the Certified play" - David O'Meara