If I rub that program, I get: HashMap false HashMap1 false HashMap2 true
which suggests that HashMap2's implementation is wrong.
If I rub that program, I get: HashMap false HashMap1 false HashMap2 true
which suggests that HashMap2's implementation is wrong.