语言

Menu
Sites
Language
Using HashMapT with String type

Is the HashMapT<> collection supposed to work with String type? I think the implementation that provides the hash code uses a simple cast to int and String isn't conversible. See /usr/include/osp/FBaseColHashMapT.h line 1323 in latest SDK.

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

1 回复
wil smith
If you want to use, String type for key, use the Construct() that acceptes HashCodeProvider