Languages

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.

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

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