- Details
- Written by Nam Ha Minh
- Last Updated on 13 June 2019   |   Print Email
This post helps you understand overview about Map API in the Java Collections Framework.
You know, a map stores elements in terms of key=value pair. Map<K, V> is the base interface for all kind of maps.
- Map Sub interfaces: ConcurrentMap<K, V>, SortedMap<K, V>, NavigableMap<K, V> and ConcurrentNavigableMap<K, V>.
- Map Abstract classes: AbstractMap<E>.
- Map Implementation classes:
- Hashtable<K, V>
- HashMap<K, V>
- LinkedHashMap<K, V>
- IdentityHashMap<K, V>
- ConcurrentHashMap<K, V>
- ConcurrentSkipListMap<K, V>
- EnumMap<K extends Enum<K>, V>
- WeakHashMap<K, V>
- TreeMap<K, V>
The following class diagram outlines the hierarchy of Map API:
Related Java Map Tutorials:
Other Java Collections Tutorials:
About the Author:
Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on
Facebook and watch
his Java videos you YouTube.