Originally posted by Daniel Loranz: Is java basically "helping" me out here by letting me be sloppy with int vs Integer?
1) It doesn't work in jdk1.4 2) I think there is value in autoboxing... it helps keep your code simple when using Collections... but if you're not careful, you can use up a lot of unnecessary cycles boxing and unboxing where it isn't really necessary or advisable.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Seriously? That's what you're going with? I prefer this tiny ad: