PDA

View Full Version : [java] hashTable


mickey
28th July 2008, 20:50
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,

jacek
28th July 2008, 23:35
You can keep pairs in the hash.