I have 8 elements in my map. My map is String to ButtonStyle, the key type is String ,value type is ButtonStyle. I added 8 members into my map which is called NBSQianLi.
I am pretty sure that my element is correct. However, when I wanna to find its value by key, I can’t find any of it except the first element. It is so strange, does anyone meet the same problem yet?
Here is my image:
As you can see, the return value is false. But why the NBSQianLi variable has a [""] key？ That’s impossible. Cause I didn’t set any empty key!
Any idea could be helpful. Thank you!