| Share this post! | Vote this! |
|
This is a detailed description about how to use HashMap in Java. Lot of code examples makes it easy to understand it's behaviour.
Here is a simple example how to create and fill a HashMap. more...
Step 1 - How to use Java HashMap
Java HashMap detailed tutorial
HashMap
is an implementation of the Map interface. It means that it stores
key-value pairs. Both the key and the value also must be an Object. You
can not put primitive types into a HashMap, in this cases use their
wrapper classes like Integer. Both the key and the value can be null.Here is a simple example how to create and fill a HashMap. more...




0 comments:
Post a Comment