[英]What is the Blackberry API equivalent to Java's HashMap Collection?
Is there a collection which is similar to a Java map with a key and value?是否存在类似于具有键和值的 Java map 的集合?
Hashtable would be the closest general purpose collection. Hashtable将是最接近的通用集合。 If you are working with primitive keys or keys and values, there are some variations that do a better job of preserving types, and can be a little more efficient too:
如果您使用原始键或键和值,则有一些变体可以更好地保留类型,并且效率也更高:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.