HashMap allows the duplicate keys and override the value with the lastest value of duplicate Key.
Like Here you are using OB key in inner hashmap so this might be overriding the value of inner...