In This Space
The page you were looking for may have been renamed to the following:
-
EXP03-J. Do not use the equality operators when comparing values of boxed primitives
(SEI CERT Oracle Coding Standard for Java)
The values of boxed primitives cannot be directly compared using the == and != operators because these operators compare object references rather than object values. Programmers can find this behavior surprising because autoboxing memoizes,...