File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes user defined wrapper class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "user defined wrapper class" Watch "user defined wrapper class" New topic
Author

user defined wrapper class

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1493
What does it mean when somebody says "you can accomplish this by writing a wrapper class". I believe a wrapper class is something that converts from primitive to references/objects.

why is it called wrapper class? how do you define the word wrapper class... wrapper means?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
FOLDOC's definition.

The Java classes, such as java.lang.Integer, for holding primitive data are correctly called "wrappers". However, they are not the only thing that can correctly by called a "wrapper". Jay-Z is not involved, however.


Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.<br /> <br />#:^P
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: user defined wrapper class
 
Similar Threads
Name the mutable and immutable Classes
Primary keys
Usage of Wrapper Classes
wrapper classes
About string