Results 1 to 2 of 2

Thread: Hash Map

  1. #1
    rekha is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Hash Map

    can any one tell me a way to enter two values for a single key in a hash

    map as {"key",value1,value2}.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power


    wrap them in another object that accepts and holds the two values. Or have the map value be an array or arraylist.

Similar Threads

  1. I need a 32 or 64 bit hash function
    By fogus in forum New To Java
    Replies: 12
    Last Post: 03-18-2009, 03:52 AM
  2. Hash Values ???
    By MuslimCoder in forum New To Java
    Replies: 6
    Last Post: 01-16-2009, 05:26 AM
  3. Hash Table Help
    By michael_mke in forum New To Java
    Replies: 3
    Last Post: 11-27-2008, 06:12 PM
  4. Question about hash tables
    By behrk2 in forum New To Java
    Replies: 2
    Last Post: 07-08-2008, 04:40 PM
  5. Hash Table help
    By rhm54 in forum New To Java
    Replies: 0
    Last Post: 02-08-2008, 02:25 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