It considers Boolean hashCode equal to 1/0 for true/false, which is different from actual hashCode of the Boolean type.