hi guys,
is it possible to have a hash map that has one key with two separate values, ie:
key#1 value#1 value#1
key#2 value#2 value#2
key#3 value#3 value#3
key#4 value#4 value#4
etc.....
i currently have a hash map with one key and one value but wanted to know if the above is possible
also how do i access the contents of a value. for example, if value#1, value#2, value#3 and value#4 all contained integers, how would i total them?
thanks
is it possible to have a hash map that has one key with two separate values, ie:
key#1 value#1 value#1
key#2 value#2 value#2
key#3 value#3 value#3
key#4 value#4 value#4
etc.....
i currently have a hash map with one key and one value but wanted to know if the above is possible
also how do i access the contents of a value. for example, if value#1, value#2, value#3 and value#4 all contained integers, how would i total them?
thanks