HERE, LET ME HELP YOU WITH THAT "CAPS LOCK" KEY. SOMETIMES IF YOU BANG IT WITH YOUR FIST, LIKE THis, it comes unstuck. There! That's better!
I'm not quite sure what you're asking. In Java, the primitive types like "int", "char", "double", "boolean" aren't kinds of objects; as a result, you can't treat them like objects. This is unfortunate, because all of the nice collection classes (the Lists, Sets, Maps, etc) only work with objects.
That's where those "wrapper" classes come in. If you wrap up an "int" inside an "Integer" wrapper object, then you can treat the result as any other object. You can store it in a Collection, or do any of the many other things that only work with Objects. When you need to get the primitive back, there are methods like intValue() to get it out again.
Java 5 -- the newest version of Java -- will often do this kind of wrapping and unwrapping for you automatically. It's called "autoboxing".
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.