In the case of below code, does the int gets boxed to an Integer or the Integer gets unboxed to an int?
if (mAccount.getValue() != value) { // value is Integer object
// do something // mAccount.getValue() returns int
}
In the case of below code, does the int gets boxed to an Integer or the Integer gets unboxed to an int?
if (mAccount.getValue() != value) { // value is Integer object
// do something // mAccount.getValue() returns int
}