• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Collections Query

 
narain ashwin
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to instantiate a TreeSet passing a List to the constructor like below


whereas the documentation here allows the TreeSet to take a collection.
 
narain ashwin
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My Bad...my class name matches the API classname ....Fixed it!!Closing the thread now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic