Become a member
Sign in
Yang Liu
Yang Liu

Yang Liu

7 Following
1 Followers
  • Profile
  • Claps
  • Highlights

Highlighted by Yang Liu

See more

From Overriding hashCode method — Effective Java Notes by Lou

If the promoted type of the left-hand operand is int, only the five lowest-order bits of the right-hand operand are used as the shift distance. It is as if the right-hand operand were subjected to a bitwise logical AND operator & (§15.22.1) with the mask value 0x1f (0b11111). The shift distance actually used is therefore always in the range 0 to 31, inclusive.

Claps from Yang Liu

See more

Dejavue all over again.

Tsolak Petrosian

The case against annotations

Adam Warski