Method
immutableEnumSet
(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
Tested by
no test coverage detected