Is it possible for us to implement a HashMap with one key and two values. Just as HashMap?
Please do help me, also by telling (if there is no way) any other way to
Can be done using an identityHashMap, subjected to the condition that the keys comparison will be done by == operator and not equals().