This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wrapper class

 
sam mitwa
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the use of making class(wrapper class )
of primitive data types
please help me
 
Steven Bell
Ranch Hand
Posts: 1071
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't store primitives in a Collection. Have to wrap them. Same with using them as keys for maps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic