Adds element to the ImmutableSet. If the ImmutableSet already contains element, then add has no effect (only the previously added element is retained). @param element the element to add @return this Builder object @throws NullPointerException if {@co
(E element)
| 466 | */ |
| 467 | |
| 468 | @CanIgnoreReturnValue |
| 469 | @Override |
| 470 | public Builder<E> add(E element) { |
| 471 | super.add(element); |
| 472 | return this; |
| 473 | } |
| 474 | |
| 475 | /** |
| 476 | * Adds each element of {@code elements} to the {@code ImmutableSet}, |