aspose file tools
The moose likes Beginning Java and the fly likes java Vectors Big Moose Saloon
  Search | Java FAQ | Recent Topics
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
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

Please don't post the same question in multiple forums. Please continue this discussion here.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: java Vectors
 
Similar Threads
Parsing elements of a Vector
Java Vectors
Shallow Copying And Deep copying ?
Help please
for loop logic problem