Wednesday, September 22, 2010

Maps in java collections

There is Map interface in java, but also there are other interfaces like SortedMap and Map.Entry interfaces. This tutorial will cover following:

Introduction to Maps in java

Map interfaces

Classes Implementing Map


Iterating over a Map

Comparison of maps to Hashtable

Basic Operations on Maps

Bulk Operations on Maps

Collection Views for Maps

Fancy Uses of Collection-Views: Map Algebra


Creating a weak hashmap
Creating a hashmap in java
Creating a Map That Retains Order-of-Insertion
Creating type-specific map

No comments:

Post a Comment