Originally posted by Parameswaran Thangavel:
hi all
I am using HashMap for storing some key value pairs.
Then i will retrieve the value from the HashMap by passing the key.
Later i found that the Key comparison done is case-sensitive , but i need the comparison to be case-insensitive.
Is there any other collections with case-insensitive comparison for the key object.
Thanks
Is this key entered by some user? or you are just iterating over the collection of Map.Entry and getting each and every value.