Search:

Type: Posts; User: speaker

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    1,854

    Re: this is easy for those who know java!!

    Hello,
    Would a hashMap be a solution?
  2. Replies
    10
    Views
    1,854

    Re: this is easy for those who know java!!

    you are absolutely right. I will change the variable's name as you said .Parallelism is needed,but its difficult to be achieved.
    It is compiled but i dont get the correct corresponding values ,so...
  3. Replies
    10
    Views
    1,854

    Re: this is easy for those who know java!!

    i posted the code.i hope it helps.
    the vectors are declared together,if that is what you ask me:-)
  4. Replies
    10
    Views
    1,854

    Re: this is easy for those who know java!!

    ok i know you are right but it didnt work for me,and i think i know why.
    when i declare the Item inside the loop it shows me a warning(local variable hides a field!)..is this the problem?



    for...
  5. Replies
    10
    Views
    1,854

    Re: this is easy for those who know java!!

    There is already a vector containing Items(=strings) ,and i created another vector for the float numbers.
    Every Item corresponds to a float number which is the result of a ranking algorithm.
    I...
  6. Replies
    10
    Views
    1,854

    this is easy for those who know java!!

    Hello,i am having difficulty of finding the right approach of my problem.(noobAlert!)

    I have a FOR loop and inside i calculate a float number and add it in a vector.
    Every iteration of the loop...
Results 1 to 6 of 6