[JAVADOCS] Fix wrong javadoc in IdentityHashSet.

Close #6121
This commit is contained in:
Benjamin Devèze 2014-05-11 11:42:25 +02:00 committed by Adrien Grand
parent b331aa1670
commit 240a2a8abf
1 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ public class IdentityHashSet<E>
* Returns <tt>true</tt> if this set contains the specified element.
* More formally, returns <tt>true</tt> if and only if this set
* contains an element <tt>e</tt> such that
* <tt>(o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))</tt>.
* <tt>(o==e)</tt>.
*
* @param o element whose presence in this set is to be tested
* @return <tt>true</tt> if this set contains the specified element
@ -94,7 +94,7 @@ public class IdentityHashSet<E>
* Adds the specified element to this set if it is not already present.
* More formally, adds the specified element <tt>e</tt> to this set if
* this set contains no element <tt>e2</tt> such that
* <tt>(e==null&nbsp;?&nbsp;e2==null&nbsp;:&nbsp;e.equals(e2))</tt>.
* <tt>(e==e2)</tt>.
* If this set already contains the element, the call leaves the set
* unchanged and returns <tt>false</tt>.
*
@ -109,7 +109,7 @@ public class IdentityHashSet<E>
/**
* Removes the specified element from this set if it is present.
* More formally, removes an element <tt>e</tt> such that
* <tt>(o==null&nbsp;?&nbsp;e==null&nbsp;:&nbsp;o.equals(e))</tt>,
* <tt>(o==e)</tt>,
* if this set contains such an element. Returns <tt>true</tt> if
* this set contained the element (or equivalently, if this set
* changed as a result of the call). (This set will not contain the