Make Java 11 Javadoc happy by replacing <tt> tags with standard Javadoc

<code> tags.
This commit is contained in:
Gary Gregory 2018-06-15 16:31:04 -06:00
parent 775886ba0c
commit c232564c61
3 changed files with 12 additions and 12 deletions

View File

@ -32,7 +32,7 @@ public interface Get<K, V> {
/** /**
* @param key key whose presence in this map is to be tested * @param key key whose presence in this map is to be tested
* @return <tt>true</tt> if this map contains a mapping for the specified * @return <code>true</code> if this map contains a mapping for the specified
* key * key
* @see java.util.Map#containsKey(Object) * @see java.util.Map#containsKey(Object)
*/ */
@ -40,7 +40,7 @@ public interface Get<K, V> {
/** /**
* @param value value whose presence in this map is to be tested * @param value value whose presence in this map is to be tested
* @return <tt>true</tt> if this map maps one or more keys to the * @return <code>true</code> if this map maps one or more keys to the
* specified value * specified value
* @see java.util.Map#containsValue(Object) * @see java.util.Map#containsValue(Object)
*/ */
@ -62,14 +62,14 @@ public interface Get<K, V> {
/** /**
* @param key key whose mapping is to be removed from the map * @param key key whose mapping is to be removed from the map
* @return the previous value associated with <tt>key</tt>, or * @return the previous value associated with <code>key</code>, or
* <tt>null</tt> if there was no mapping for <tt>key</tt>. * <code>null</tt> if there was no mapping for <tt>key</code>.
* @see java.util.Map#remove(Object) * @see java.util.Map#remove(Object)
*/ */
V remove(Object key); V remove(Object key);
/** /**
* @return <tt>true</tt> if this map contains no key-value mappings * @return <code>true</code> if this map contains no key-value mappings
* @see java.util.Map#isEmpty() * @see java.util.Map#isEmpty()
*/ */
boolean isEmpty(); boolean isEmpty();

View File

@ -240,7 +240,7 @@ public interface MultiSet<E> extends Collection<E> {
* and the two entries represent the same element with the same * and the two entries represent the same element with the same
* number of occurrences. * number of occurrences.
* <p> * <p>
* More formally, two entries <tt>e1</tt> and <tt>e2</tt> represent * More formally, two entries <code>e1</tt> and <tt>e2</code> represent
* the same mapping if * the same mapping if
* <pre> * <pre>
* (e1.getElement()==null ? e2.getElement()==null * (e1.getElement()==null ? e2.getElement()==null
@ -257,7 +257,7 @@ public interface MultiSet<E> extends Collection<E> {
/** /**
* Returns the hash code value for this multiset entry. * Returns the hash code value for this multiset entry.
* <p> * <p>
* The hash code of a multiset entry <tt>e</tt> is defined to be: * The hash code of a multiset entry <code>e</code> is defined to be:
* <pre> * <pre>
* (e==null ? 0 : e.hashCode()) ^ noOccurances) * (e==null ? 0 : e.hashCode()) ^ noOccurances)
* </pre> * </pre>

View File

@ -46,11 +46,11 @@ public interface Put<K, V> {
* *
* @param key key with which the specified value is to be associated * @param key key with which the specified value is to be associated
* @param value value to be associated with the specified key * @param value value to be associated with the specified key
* @return the previous value associated with <tt>key</tt>, or * @return the previous value associated with <code>key</code>, or
* <tt>null</tt> if there was no mapping for <tt>key</tt>. * <code>null</tt> if there was no mapping for <tt>key</code>.
* (A <tt>null</tt> return can also indicate that the map * (A <code>null</code> return can also indicate that the map
* previously associated <tt>null</tt> with <tt>key</tt>, * previously associated <code>null</tt> with <tt>key</code>,
* if the implementation supports <tt>null</tt> values.) * if the implementation supports <code>null</code> values.)
* @see Map#put(Object, Object) * @see Map#put(Object, Object)
*/ */
Object put(K key, V value); Object put(K key, V value);