-
January 7th, 2010, 12:41 PM
#1
HashMap
So HashMap objects are not allowed to be supplied as the 2nd parameter of smartUpdate() ?
Since it can recieve a Map descendant object, or am I getting this all wrong?
Thanks again
-
January 8th, 2010, 11:28 AM
#2
You can supply HashMap objects as the 2nd parameter of smartUpdate.
The only restriction is that you have to use a brand new HashMap object instance on each invocation. Put in a more general way, once a HashMap object is supplied to smartUpdate, you can no longer use it.
Depending on what you get from your feed interface, you may have to perform some copy or clone operation.
However, Map objects which are not also HashMap objects are not subject to the restriction.
(I'm not sure if this also answers your second question).
Similar Threads
-
By rmusco in forum General
Replies: 5
Last Post: January 4th, 2013, 12:38 AM
-
By achittoda in forum Adapter SDKs
Replies: 1
Last Post: December 22nd, 2009, 09:15 AM
-
By rsouissi in forum Adapter SDKs
Replies: 3
Last Post: February 12th, 2009, 10:31 AM
-
By quanhm in forum General
Replies: 1
Last Post: May 19th, 2008, 09:48 AM
-
By rsouissi in forum Client SDKs
Replies: 2
Last Post: December 28th, 2007, 08:33 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 02:01 PM.
Bookmarks