Map hierarchy in java - Detailed - HashMap, Hashtable, ConcurrentHashMap, LinkedHashMap, TreeMap, ConcurrentSkipListMap, IdentityHashMap, WeakHashMap, EnumMap classes


In this Collection framework tutorial we will learn Map hierarchy in java in detail.
Contents of page :
  • 1) Map interface extends which interface?
  • 2) Which classes implement Map interface?
  • 3) Map hierarchy in java >



1) Map interface extends which interface?
java.util.Map interface doesn’t extends java.util.Collection interface like List and Set in java.

2) Which classes implement Map interface?
java.util.HashMap, java.util.Hashtable, java.util.concurrent.ConcurrentHashMap, java.util.LinkedHashMap, java.util.TreeMap, java.util.concurrent.ConcurrentSkipListMap, java.util.IdentityHashMap, java.util.WeakHashMap, java.util.EnumMap classes implements java.util.Map interface.


Also some abstract classes like java.util.Dictionary and java.util.AbstractMap have been mentioned in hierarchy.


3) Map hierarchy in java >

/** Copyright (c), AnkitMittal JavaMadeSoEasy.com */
.


Having any doubt? or you you liked the tutorial! Please comment in below section.
Please express your love by liking JavaMadeSoEasy.com (JMSE) on facebook, following on google+ or Twitter.


RELATED LINKS>

Basic Collection - All properties in tabular form >

Collection - java.util.List, java.util.Set and java.util.Map all properties in tabular form


Collection hierarchy >

List hierarchy tutorial in java - Detailed - java.util.ArrayList, java.util.LinkedList, java.util.vector, java.util.concurrent.CopyOnWriteArrayList classes


Set hierarchy tutorial in java - Detailed - java.util.HashSet, java.util.concurrent.CopyOnWriteArraySet, java.util.LinkedHashSet, java.util.TreeSet, java.util.concurrent.ConcurrentSkipListSet, java.util.EnumSet classes


eEdit
Must read for you :