1
我需要了解NSDictionary
算法在iOS中的工作原理吗?NSDictionary算法如何在iOS中工作?
我假设它在内部使用哈希算法,就像在Java中使用HashMap
使用bucket
和hashcode
的概念。
NSDictionary的机制是否与Java中的HashMap
相同?
我需要了解NSDictionary
算法在iOS中的工作原理吗?NSDictionary算法如何在iOS中工作?
我假设它在内部使用哈希算法,就像在Java中使用HashMap
使用bucket
和hashcode
的概念。
NSDictionary的机制是否与Java中的HashMap
相同?
NSDictionary
使用CFDictionary
这是开源由Apple here。
另见Mike Ash的Let's Build NSMutableDictionary。
请搜索互联网,有关于该主题的教程ton.For [exmaple](http://rypress.com/tutorials/objective-c/data-types/nsdictionary) –