Returns an immutable copy of the current contents of this set view. Does not support null elements. Warning: this may have unexpected results if a backing set of this view uses a nonstandard notion of equivalence, for example if it is a TreeSet using a comparator that is inconsist
()
| 557 | * Object#equals(Object)}. |
| 558 | */ |
| 559 | public ImmutableSet<E> immutableCopy() { |
| 560 | return ImmutableSet.copyOf(this); |
| 561 | } |
| 562 | |
| 563 | /** |
| 564 | * Copies the current contents of this set view into an existing set. This |