@@ -67,6 +67,102 @@ public abstract class AbstractMap<K,V> extends Object, implements Map<K,V>
6767
6868</h3 >
6969
70+ <h2 > </h2 >
71+ <h2 align =" Center " > Methods of Abstract Map(Abstract Class) </h2 >
72+
73+ <ul >
74+ <table >
75+ <tr >
76+ <th >Methods of Abstract Map(Abstract Class)</th >
77+ <th > Does This</th >
78+ </tr >
79+
80+ <tr >
81+ <td >1. clear() </td >
82+ <td > Removes all of the mappings from this map .</td >
83+ </tr >
84+
85+ <tr >
86+ <td >2.clone() </td >
87+ <td > Returns a shallow copy of this map.</td >
88+ </tr >
89+
90+ <tr >
91+ <td >3. containsKey(Object key) </td >
92+ <td > Returns true if this map contains a mapping for the specified key.</td >
93+ </tr >
94+
95+ <tr >
96+ <td >4. containsValue(Object value) </td >
97+ <td >Returns true if this map maps one or more keys to the specified value.</td >
98+ </tr >
99+
100+ <tr >
101+ <td >5.entrySet() </td >
102+ <td > Returns a Set view of the mappings contained in this map.</td >
103+ </tr >
104+
105+ <tr >
106+ <td >6. equals(Object o) </td >
107+ <td >Compares the specified object with this map for equality.</td >
108+ </tr >
109+
110+ <tr >
111+ <td >7. get(Object key) </td >
112+ <td >Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.</td >
113+ </tr >
114+
115+ <tr >
116+ <td >8. hashCode() </td >
117+ <td >Returns the hash code value for this map.</td >
118+ </tr >
119+
120+ <tr >
121+ <td >9. isEmpty() </td >
122+ <td >Returns true if this map contains no key-value mappings.</td >
123+ </tr >
124+
125+ <tr >
126+ <td >10. keySet()</td >
127+ <td >Returns a Set view of the keys contained in this map.</td >
128+ </tr >
129+
130+ <tr >
131+ <td >11. put(K key, V value) </td >
132+ <td >Associates the specified value with the specified key in this map .</td >
133+ </tr >
134+
135+ <tr >
136+ <td >12. putAll(Map<? extends K,? extends V> m) </td >
137+ <td >Copies all of the mappings from the specified map to this map .</td >
138+ </tr >
139+
140+ <tr >
141+ <td >13. remove(Object key) </td >
142+ <td >Removes the mapping for a key from this map if it is present.</td >
143+ </tr >
144+
145+
146+ <tr >
147+ <td >14.size() </td >
148+ <td >Returns the number of key-value mappings in this map.</td >
149+ </tr >
150+
151+ <tr >
152+ <td >15.toString()</td >
153+ <td >Returns a string representation of this map.</td >
154+ </tr >
155+
156+ <tr >
157+ <td >16.values()</td >
158+ <td >Returns a Collection view of the values contained in this map.</td >
159+ </tr >
160+
161+ </table >
162+
163+ <h3 > <i > <ins > Note: </ins > These methods are discussed below . </i > </h3 >
164+ </ul >
165+
70166</ul >
71167
72168<h1 align =" center " >A. Map - Interface </h1 >
@@ -275,6 +371,8 @@ Iterator<Map<Key, Value>> iterator = map.iterator(); → Cannot be Obtained
275371</tr >
276372
277373</table >
374+
375+ <h3 > <i > <ins > Note: </ins > These methods are discussed below . </i > </h3 >
278376</ul >
279377
280378<h1 > </h1 >
0 commit comments