public interface Put<K,V>
Map interface.
NOTE: in the original Map interface, Map.put(Object, Object) is known
to have the same return type as Map.get(Object), namely V. Put
makes no assumptions in this regard (there is no association with, nor even knowledge
of, a "reading" interface) and thus defines put(Object, Object) as returning
Object.
Get| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.lang.Object |
put(K key,
V value)
Note that the return type is Object, rather than V as in the Map interface.
|
void |
putAll(java.util.Map<? extends K,? extends V> t) |
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"