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 Classes

 
suresh kamsa
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need info/notes/url on wrapper classes. Please direct me there.
 
suresh kamsa
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any java book on wrapper classes?Please let me know.
 
Binu K Idicula
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is better if you use API for reference.
This is always good to understand these about wrapper classes.
difference between
.decode()
.parseXXX();
.valueOf()
and try some arithmetic operators on
.MIN_VALUE , .MAX_VALUE of each wrapper.
and also including POSITIVE_INFINITY and NEGATIVE_INFINITY, NAN
regards
Binu
 
suresh kamsa
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not finding any API info on wrapper classes. I found only wrap(int),wrap(byte) etc. Can anyone send me the url for that pl.
Thanks
 
Ron Newman
Ranch Hand
Posts: 1056
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't heard of a method called wrap() -- where did you find it?
Wrapper classes are Boolean, Byte, Character, Short, Integer, Long, Float, Double. These are all in the package java.lang .
Note these all begin with capital letters, to distinguish them from primitive types that would otherwise have the same names.
[ August 23, 2002: Message edited by: Ron Newman ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic