Fix Javadoc warnings

This commit is contained in:
Gary Gregory 2024-10-28 07:47:45 -04:00
parent a67d21878b
commit 2817281db9
1 changed files with 7 additions and 0 deletions

View File

@ -37,13 +37,18 @@ import java.util.Map;
public interface Put<K, V> {
/**
* Removes all of the mappings from this map.
*
* @see Map#clear()
*/
void clear();
/**
* Associates the specified value with the specified key in this map.
* <p>
* Note that the return type is Object, rather than V as in the Map interface.
* See the class Javadoc for further info.
* </p>
*
* @param key key with which the specified value is to be associated
* @param value value to be associated with the specified key
@ -57,6 +62,8 @@ public interface Put<K, V> {
Object put(K key, V value);
/**
* Copies all of the mappings from the specified map to this map.
*
* @param t mappings to be stored in this map
* @see Map#putAll(Map)
*/