Results 1 to 4 of 4

Hybrid View

  1. #1
    Member
    Join Date
    Aug 2009
    Location
    a
    Posts
    6

    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

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    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

  1. Stress Test / Performance
    By rmusco in forum General
    Replies: 5
    Last Post: January 4th, 2013, 12:38 AM
  2. Performance problem
    By achittoda in forum Adapter SDKs
    Replies: 1
    Last Post: December 22nd, 2009, 09:15 AM
  3. Replies: 3
    Last Post: February 12th, 2009, 10:31 AM
  4. Performance test for Lightstreamer
    By quanhm in forum General
    Replies: 1
    Last Post: May 19th, 2008, 09:48 AM
  5. Issues and performance problems in the J2ME library
    By rsouissi in forum Client SDKs
    Replies: 2
    Last Post: December 28th, 2007, 08:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 02:01 PM.