posted 17 years ago
It'll unbox the Integer.
See JLS 15.21;
If the operands of an equality operator are both of numeric type, or one is of numeric type and the other is convertible (�5.1.8) to numeric type, binary numeric promotion is performed on the operands (�5.6.2).
[ June 01, 2006: Message edited by: Dick Eimers ]
<a href="http://eimers.blogspot.com" target="_blank" rel="nofollow">eimers.blogspot.com</a>