Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.lang.Set dupplicate problem  RSS feed

 
Milan Djukic
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
code is like this:



Why values are dupplicated? How can i solve this?
 
Steve Fahlbusch
Bartender
Posts: 612
7
Mac OS X Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
to begin with, why do you think values are being repeated?

post the requirements.

post your understanding of the requirements.

post your analysis of the requirements.

post your test set that you generated prior to writing the code and descirbe why this test set will fulfill the requirements

post the exectution of the test set

and finaly tell us why you think the code does not meet your expectations.
 
Milan Djukic
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry my bad, code is good
 
Steve Fahlbusch
Bartender
Posts: 612
7
Mac OS X Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good for that.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!