I will appreciate if someone can provide their guess for why my answer to my own question is getting downvoted.
To summarize, the question is:
Is there a
Map<K1, K2, V>
implemented in Java where the retrieval can be performed with either of two different types, like a primary key and alternate key?
My answer:
There isn't such a popular map implementation.