Let's take a look at what the HashMap API says:
This implementation ... permits null values and the null key.
So, strictly speaking,
only one element can be (
null reference, reference to anything). The other elements must be like (non
null reference, reference to anything).