CSC/ECE 517 Fall 2007/wiki1 1 aman: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''Comparison of HashMaps in Java vs hashes in Ruby | '''Comparison of HashMaps in Java vs hashes in Ruby | ||
''' | ''' | ||
A map is any object which stores associations between keys and their corresponding values, in which both keys and the values are objects. The key is unique , however the values may not necessarily be unique. | A map is any object which stores associations between keys and their corresponding values, in which both keys and the values are objects. The key is unique , however the values may not necessarily be unique. |
Revision as of 22:33, 11 September 2007
Comparison of HashMaps in Java vs hashes in Ruby A map is any object which stores associations between keys and their corresponding values, in which both keys and the values are objects. The key is unique , however the values may not necessarily be unique.