71 |
|
* versions of this class, constructors may optionally specify an |
72 |
|
* expected {@code concurrencyLevel} as an additional hint for |
73 |
|
* internal sizing. Note that using many keys with exactly the same |
74 |
< |
* {@code hashCode{}} is a sure way to slow down performance of any |
74 |
> |
* {@code hashCode()} is a sure way to slow down performance of any |
75 |
|
* hash table. |
76 |
|
* |
77 |
|
* <p>This class and its views and iterators implement all of the |
2187 |
|
return true; |
2188 |
|
} |
2189 |
|
|
2190 |
< |
public final boolean removeAll(Collection c) { |
2190 |
> |
public final boolean removeAll(Collection<?> c) { |
2191 |
|
boolean modified = false; |
2192 |
|
for (Iterator<?> it = iter(); it.hasNext();) { |
2193 |
|
if (c.contains(it.next())) { |