aspose file tools*
The moose likes Beginning Java and the fly likes java Vectors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

java Vectors

Harsha vaka
Greenhorn

Joined: Oct 03, 2007
Posts: 4
I have two vectors v1,v2 which contains strings in them, I want to compare
contents of v1 at index i with the contents of vector v2 at index j. If i use v1.get(i).equals(v2.get(j)); always returning false, even it contains common terms in both vectors.
please sugest solution for my problem.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Please don't post the same question in multiple forums. Please continue this discussion here.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java Vectors