equals() method for the integer wrappers will only return true if the two primitive types and the two values are equal.
it's okay to unbox and use == .
it's okay to create a wrapper object with an expression, and unbox it for comparison with a primitive.