CSC/ECE 517 Fall 2007/wiki1 1 aman: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
'''
'''
== [[Comparison of HashMaps in Java vs hashes in R ==
'''Comparison of HashMaps in Java vs hashes in Ruby'''
uby]]
 
'''
'''Map'''
'''Map'''
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.
HashMaps in java use hashtables to store the map
HashMaps in java use hashtables to store the map

Revision as of 22:42, 11 September 2007

Comparison of HashMaps in Java vs hashes in Ruby

Map 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. HashMaps in java use hashtables to store the map