Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

HashMap I am trying to randomly generate men and women preference list for matching.  RSS feed

 
Erdene Yadam
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Report post to moderator
on line number 18, 19,24,25. I am trying to generate men preference list for each men.
please take a look at last code. that is what i am trying to generate.

shuffle men and make that women preference list. same thing for women.



I am trying to generate something like this. please help me out
 
Tushar Goel
Ranch Hand
Posts: 934
4
  • Mark post as helpful
  • send pies
  • Report post to moderator
why you have posted same post 3 times?
 
Henry Wong
author
Sheriff
Posts: 23283
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Tushar Goel wrote:why you have posted same post 3 times?


Agreed. Another similarly duplicate topic. Locked.

Henry
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!