Hello! parallel vectors nightmare
Hello,
in my code i have at some point 3 parallel vectors [float(i)<=>string1(i)<=>string2(i)]
i wanted to eliminate equal float numbers of the 1st vector ,therefore i create a SET which works fine:
Code :
Set unique = new LinkedHashSet();
Iterator iter;
for ( iter = unique.iterator(); iter.hasNext();) {
Object obj = iter.next();
System.out.println("/unique vector/ " + obj);
Im having difficulty at deleting the correspoding strings of the other 2 vectors,although it sounds pretty easy to do.
i would appreciate any ideas!
thnx very much a priori:o
Re: Hello! parallel vectors nightmare
Please only post a question in one place.
Re: Hello! parallel vectors nightmare
Quote:
Originally Posted by
Norm
Please only post a question in one place.
my bad! though i tried to delete one of them:o