03-31-2012 10:47 PM
I'm wondering if someone can suggest on a proper Set API in BlackBerry, please? I only want to use it to add and get object. Does WritableSet help? Thanks a lot in advance.
Solved! Go to Solution.
04-01-2012 05:17 PM - edited 04-01-2012 05:18 PM
If all you want is add and get, you can use nearly any non-array collection (Vector, and the variety of classes in net.rim.device.api.collection.util). Though they will allow the addition of duplicates unless otherwise said.
04-01-2012 09:54 PM
Just adding to the previous post, WriteableSet Interface is just an interface, I had a quick look and can't find a Collection that implements it. But you could write your own, based on Vector or another collection.
04-02-2012 05:14 AM