MCPcopy Create free account
hub / github.com/antlr/codebuff / immutableCopy

Method immutableCopy

output/java_guava/1.4.18/Sets.java:597–599  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

595
596
597 public ImmutableSet<E> immutableCopy() {
598 return ImmutableSet.copyOf(this);
599 }
600
601 /**
602 * Copies the current contents of this set view into an existing set. This

Callers

nothing calls this directly

Calls 1

copyOfMethod · 0.95

Tested by

no test coverage detected