What is the Java equivalent of Objective-C's NSDictionary?

前端 未结 3 1160
悲&欢浪女
悲&欢浪女 2020-12-03 07:23

What is the closest implementation of Objective-C\'s NSDictionary in Java? To me, it looks like HashMap, but I\'m very new t

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-03 07:38

    I'm admittedly an Android newbie, but to me ContentValues seems to be the closest thing to NSDictionary.

提交回复
热议问题