• Post Reply Bookmark Topic Watch Topic
  • New Topic

HashMap to Set  RSS feed

 
aakash bhatt
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to convert a HashMap to Set?
Regards,
aakash
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
check out api for java.util.Map.
there are two methods:

which should do the trick for you.
karl
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Intermediate forum...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!