I'm in need of a map with two "joint" or "combined" integer keys pointing to a value (an object).
map[K1,K2] = myObject
What I have to do now is combine the two in a string separated by a comma: "105-12"
Combined they are unique. There will only be one 105,12 key combo.
possible? Should I just string them with a dash?
Thanks,
Dan
map[K1,K2] = myObject
What I have to do now is combine the two in a string separated by a comma: "105-12"
Combined they are unique. There will only be one 105,12 key combo.
possible? Should I just string them with a dash?
Thanks,
Dan
Comment