Lines Matching defs:map

42      * Removes all elements from this map, leaving it empty.
45 * if removing from this map is not supported.
54 * Returns whether this map contains the specified key.
58 * @return {@code true} if this map contains the specified key,
80 * Returns whether this map contains the specified value.
84 * @return {@code true} if this map contains the specified value,
106 * Returns a set containing all of the mappings in this map. Each mapping is
107 * an instance of {@link Map.Entry}. As the set is backed by this map,
116 * if the specified object is a map and both maps contain the same mappings.
131 Map<?, ?> map = (Map<?, ?>) object;
132 if (size() != map.size()) {
140 Object theirs = map.get(key);
142 if (theirs != null || !map.containsKey(key)) {
205 * Returns whether this map is empty.
207 * @return {@code true} if this map has no elements, {@code false}
216 * Returns a set of the keys contained in this map. The set is backed by
217 * this map so changes to one are reflected by the other. The returned set
269 * if adding to this map is not supported.
272 * map.
274 * if the key or value cannot be added to this map.
284 * Copies every mapping in the specified map to this map.
286 * @param map
287 * the map to copy mappings from.
289 * if adding to this map is not supported.
292 * map.
294 * if a key or value cannot be added to this map.
296 * if a key or value is {@code null} and this map does not
299 public void putAll(Map<? extends K, ? extends V> map) {
300 for (Map.Entry<? extends K, ? extends V> entry : map.entrySet()) {
313 * if removing from this map is not supported.
338 * Returns the number of elements in this map.
340 * @return the number of elements in this map.
347 * Returns the string representation of this map.
349 * @return the string representation of this map.
384 * Returns a collection of the values contained in this map. The collection
385 * is backed by this map so changes to one are reflected by the other. The
391 * "wrapper object" over the iterator of map's entrySet(). The {@code size}
392 * method wraps the map's size method and the {@code contains} method wraps
393 * the map's containsValue method.
400 * @return a collection of the values contained in this map.