Results 1 to 2 of 2

Thread: [java] hashTable

  1. #1
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default [java] hashTable

    Hello, I'm new to java and I'm looking for a structure that permits me to take elements of triple of "a String, an my Object and a integer";
    I thought about an HashTable, because the string is the key; but it can takes only two; is there any tricks to do this?

    thanks,
    Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: [java] hashTable

    You can keep pairs in the hash.

Similar Threads

  1. [java] ClassLoader
    By mickey in forum General Programming
    Replies: 4
    Last Post: 28th July 2008, 01:23
  2. [java] write a simple server
    By mickey in forum General Programming
    Replies: 0
    Last Post: 22nd July 2008, 00:59
  3. [java] manipulate a string
    By mickey in forum General Programming
    Replies: 5
    Last Post: 10th July 2008, 20:22
  4. [Java] read and write a file
    By mickey in forum General Programming
    Replies: 3
    Last Post: 22nd June 2008, 10:43
  5. [java] access to member in composition
    By mickey in forum General Programming
    Replies: 2
    Last Post: 21st June 2008, 22:24

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.