MCPcopy Index your code
hub / github.com/antlr/codebuff / copyOfEnumSet

Method copyOfEnumSet

output/java_guava/1.4.16/ImmutableSet.java:328–331  ·  view source on GitHub ↗
(EnumSet enumSet)

Source from the content-addressed store, hash-verified

326 }
327
328 @SuppressWarnings("rawtypes") // necessary to compile against Java 8
329 private static ImmutableSet copyOfEnumSet(EnumSet enumSet) {
330 return ImmutableEnumSet.asImmutable(EnumSet.copyOf(enumSet));
331 }
332
333 ImmutableSet() {}
334

Callers 1

copyOfMethod · 0.95

Calls 2

asImmutableMethod · 0.95
copyOfMethod · 0.45

Tested by

no test coverage detected