×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    70

    LinkedHashMap in j2me

    Hi

    Is there is any LinkedHashMap in j2m ?or how can we achieve it?

    Thanks
    Juniad

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: LinkedHashMap in j2me

    Use a Hashtable.

    Graham.

  3. #3
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    70

    Re: LinkedHashMap in j2me

    i also used hashtable but i want the functionalitylike Linkedhashmap
    Thanks
    junaid

  4. #4
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: LinkedHashMap in j2me

    If you want to be able to access the elements in insertion order, then you need to maintain a Vector of the keys in parallel to the Hashtable. Or implement your own collection class.

    Graham.

Similar Threads

  1. J2ME or C++ for VoIP on Mobile
    By sandeepkumar03 in forum VoIP
    Replies: 4
    Last Post: 2009-02-02, 10:28
  2. Calling a native c or c++ application from J2ME
    By satyarajasekhar in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2009-01-02, 12:10
  3. J2ME or C++ for VoIP on Mobile Phone
    By sandeepkumar03 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2008-11-13, 20:14
  4. Acessing voice channel using J2ME
    By diegomello in forum VoIP
    Replies: 1
    Last Post: 2008-10-21, 15:57
  5. Can J2ME be used for sending MMS Message ?
    By seno_ap in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-24, 14:36

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •