• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Wrapper Classes

 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need info/notes/url on wrapper classes. Please direct me there.
 
suresh kamsa
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any java book on wrapper classes?Please let me know.
 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic