/guava/guava/src/com/google/common/collect/Sets.java
return ImmutableEnumSet.asImmutable( EnumSet.copyOf( 3) ) ;
return ImmutableEnumSet.asImmutable ( EnumSet.copyOf ( collection ) ) ;
return (ImmutableEnumSet<E>) elements; } else if (elements instanceof Collection) { Collection<E> collection = (Collection<E>) elements; if (collection.isEmpty()) { return ImmutableSet.of(); } else { <extra_id_0> } } else { Iterator<E> itr = elements.iterator(); if (itr.hasNext()) { EnumSet<E> enumSet = EnumSet.of(itr.next()); Iterators.addAll(enumSet, itr);