I have integers that are supposed to be equal (and I verify it by output). But in my if condition Java does not see these variables to have the same value.
if
There are two types to distinguish here:
int
Integer