Re:Why I absolutely love java
by jankassens on Tuesday February 08, 2011 @07:41PM
(#2195636)
There's no problem here. You can be pretty sure simple calculations like this (and multiplications with a power of 2 vs. shifting etc.) will run the same machine code in the end.
if(e.intValue()%2 != 0) == >>> if((e.intValue()& 1) != 0)