@Khalid_AliJun 23.2007 — #you will have to write your own comparison routine to do that, I don't think there is in java that will automatically tell you that.
there are few things that come to mind,
1. first see if both vectors are of the same size.
2. then scan through both and compare each item at the same index.
3. You will have to know in advance that what is the type of each item in the vector so that you can compare correctly..
This assumes that your Vectors contain all the same type of object. If it's your own object, you should probably make sure you code its equals() method.
At least I'm pretty sure it will work with Vectors...