Solved

.net supports hash mapping

Posted on 2009-07-13
4
203 Views
Last Modified: 2013-11-08
HI


What is hash mapping? Does .net supports hash mapping.
0
Comment
Question by:KaranGupta
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 24838641
Both provide key-value access to data. The Hashtable is one of the original collection classes in Java. HashMap is part of the new Collections Framework, added with Java 2, v1.2. The key difference between the two is that access to the  Hashtable is synchronized on the table while access to the
HashMap isn't. You can add it, but it isn't there by  default.

Another difference is that iterator in the HashMap is fail-safe while the enumerator for the Hashtable isn't. If you change the map while iterating, you'll know.

And, a third difference is that HashMap permits null values in it, while Hashtable doesn't.

Source: http://www.allinterview.com/showanswers/67679.html
0
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 24838649
Hashtable Class

Represents a collection of key/value pairs that are organized based on the hash code of the key.

http://msdn.microsoft.com/en-us/library/system.collections.hashtable.aspx
0
 

Author Comment

by:KaranGupta
ID: 24838660
So you mean hash mapping is key/ value pair
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 24838670
That's correct
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question