Tag - "java"
If you have ever read the source code of Boolean.java
, you may notice two magic numbers
in hashCode(boolean)
method. Why these two numbers?
If you have ever read the source code of Boolean.java
, you may notice two magic numbers
in hashCode(boolean)
method. Why these two numbers?