1443 |
|
* Creates a new {@link Set} backed by a ConcurrentHashMap |
1444 |
|
* from the given type to {@code Boolean.TRUE}. |
1445 |
|
* |
1446 |
+ |
* @param <K> the element type of the returned set |
1447 |
|
* @return the new set |
1448 |
|
* @since 1.8 |
1449 |
|
*/ |
1458 |
|
* |
1459 |
|
* @param initialCapacity The implementation performs internal |
1460 |
|
* sizing to accommodate this many elements. |
1461 |
+ |
* @param <K> the element type of the returned set |
1462 |
|
* @return the new set |
1463 |
|
* @throws IllegalArgumentException if the initial capacity of |
1464 |
|
* elements is negative |