/guava/android/guava/src/com/google/common/collect/Sets.java
Iterators.addAll( elements, set) ;
Iterators.addAll ( set, elements ) ;
return (elements instanceof Collection) ? new HashSet<E>((Collection<? extends E>) elements) : newHashSet(elements.iterator()); } public static <E extends @Nullable Object> HashSet<E> newHashSet(Iterator<? extends E> elements) { HashSet<E> set = newHashSet(); <extra_id_0> return set; } public static <E extends @Nullable Object> HashSet<E> newHashSetWithExpectedSize( int expectedSize) { return new HashSet<E>(Maps.capacity(expectedSize)); }