--- a/jdk/src/share/classes/java/util/AbstractMap.java Thu Jan 02 19:23:27 2014 +0000
+++ b/jdk/src/share/classes/java/util/AbstractMap.java Fri Jan 03 06:28:56 2014 +0000
@@ -78,7 +78,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation returns <tt>entrySet().size()</tt>.
+ * @implSpec
+ * This implementation returns <tt>entrySet().size()</tt>.
*/
public int size() {
return entrySet().size();
@@ -87,7 +88,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation returns <tt>size() == 0</tt>.
+ * @implSpec
+ * This implementation returns <tt>size() == 0</tt>.
*/
public boolean isEmpty() {
return size() == 0;
@@ -96,7 +98,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation iterates over <tt>entrySet()</tt> searching
+ * @implSpec
+ * This implementation iterates over <tt>entrySet()</tt> searching
* for an entry with the specified value. If such an entry is found,
* <tt>true</tt> is returned. If the iteration terminates without
* finding such an entry, <tt>false</tt> is returned. Note that this
@@ -126,7 +129,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation iterates over <tt>entrySet()</tt> searching
+ * @implSpec
+ * This implementation iterates over <tt>entrySet()</tt> searching
* for an entry with the specified key. If such an entry is found,
* <tt>true</tt> is returned. If the iteration terminates without
* finding such an entry, <tt>false</tt> is returned. Note that this
@@ -157,7 +161,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation iterates over <tt>entrySet()</tt> searching
+ * @implSpec
+ * This implementation iterates over <tt>entrySet()</tt> searching
* for an entry with the specified key. If such an entry is found,
* the entry's value is returned. If the iteration terminates without
* finding such an entry, <tt>null</tt> is returned. Note that this
@@ -191,7 +196,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation always throws an
+ * @implSpec
+ * This implementation always throws an
* <tt>UnsupportedOperationException</tt>.
*
* @throws UnsupportedOperationException {@inheritDoc}
@@ -206,7 +212,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation iterates over <tt>entrySet()</tt> searching for an
+ * @implSpec
+ * This implementation iterates over <tt>entrySet()</tt> searching for an
* entry with the specified key. If such an entry is found, its value is
* obtained with its <tt>getValue</tt> operation, the entry is removed
* from the collection (and the backing map) with the iterator's
@@ -255,7 +262,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation iterates over the specified map's
+ * @implSpec
+ * This implementation iterates over the specified map's
* <tt>entrySet()</tt> collection, and calls this map's <tt>put</tt>
* operation once for each entry returned by the iteration.
*
@@ -276,7 +284,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation calls <tt>entrySet().clear()</tt>.
+ * @implSpec
+ * This implementation calls <tt>entrySet().clear()</tt>.
*
* <p>Note that this implementation throws an
* <tt>UnsupportedOperationException</tt> if the <tt>entrySet</tt>
@@ -302,7 +311,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation returns a set that subclasses {@link AbstractSet}.
+ * @implSpec
+ * This implementation returns a set that subclasses {@link AbstractSet}.
* The subclass's iterator method returns a "wrapper object" over this
* map's <tt>entrySet()</tt> iterator. The <tt>size</tt> method
* delegates to this map's <tt>size</tt> method and the
@@ -358,7 +368,8 @@
/**
* {@inheritDoc}
*
- * <p>This implementation returns a collection that subclasses {@link
+ * @implSpec
+ * This implementation returns a collection that subclasses {@link
* AbstractCollection}. The subclass's iterator method returns a
* "wrapper object" over this map's <tt>entrySet()</tt> iterator.
* The <tt>size</tt> method delegates to this map's <tt>size</tt>
@@ -425,7 +436,8 @@
* <tt>equals</tt> method works properly across different implementations
* of the <tt>Map</tt> interface.
*
- * <p>This implementation first checks if the specified object is this map;
+ * @implSpec
+ * This implementation first checks if the specified object is this map;
* if so it returns <tt>true</tt>. Then, it checks if the specified
* object is a map whose size is identical to the size of this map; if
* not, it returns <tt>false</tt>. If so, it iterates over this map's
@@ -476,7 +488,8 @@
* <tt>m1</tt> and <tt>m2</tt>, as required by the general contract of
* {@link Object#hashCode}.
*
- * <p>This implementation iterates over <tt>entrySet()</tt>, calling
+ * @implSpec
+ * This implementation iterates over <tt>entrySet()</tt>, calling
* {@link Map.Entry#hashCode hashCode()} on each element (entry) in the
* set, and adding up the results.
*