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

Method immutableEnumSet

output/java_guava/1.4.17/Sets.java:99–102  ·  view source on GitHub ↗
(E anElement, E... otherElements)

Source from the content-addressed store, hash-verified

97 // http://code.google.com/p/google-web-toolkit/issues/detail?id=3028
98
99 @GwtCompatible(serializable = true)
100 public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(E anElement, E... otherElements) {
101 return ImmutableEnumSet.asImmutable(EnumSet.of(anElement, otherElements));
102 }
103
104 /**
105 * Returns an immutable set instance containing the given enum elements.

Callers

nothing calls this directly

Calls 9

asImmutableMethod · 0.95
ofMethod · 0.95
addAllMethod · 0.95
isEmptyMethod · 0.65
iteratorMethod · 0.65
nextMethod · 0.65
ofMethod · 0.45
copyOfMethod · 0.45
hasNextMethod · 0.45

Tested by

no test coverage detected