If the vector contains Strings, some may be "", an empty String, which is different from null. Depending on how you use the Vector, you may be able to guarantee that some of these cases will not be true. (E.g., make sure you never put a null into a vector, and you won't have to check for it.) Enjoy...
"I'm not back." - Bill Harding, Twister
I'm gonna teach you a lesson! Start by looking at this tiny ad: