...你有一个class,衍生出许多相等实体(equal instances),你希望将它们替换为单一对象 具体做法是使用静态字典(static Dictionary)或者注册对象(registry object),如Hashtable。
基于20个网页-相关网页
Since you used NSDictionary, you created a static dictionary.
因为您使用了NSDictionary,所以您创建了静态字典。
The LZ algorithm uses a static dictionary to store the needed information.
LZ 算法使用一个静态字典存储所需的信息。
With dynamic dictionaries, the sending side can add new strings and their mappings not already in the static dictionary.
使用动态字典时,发送端可以添加其映射不在静态字典中的新字符串。
应用推荐