Class diagram of Map API
- 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:
- What is Java Collections Framework?
- Java Set Tutorial
- Java List Tutorial
- Java Queue Tutorial
- Understand equals and hashCode
- Understand object ordering
Comments