/guava/android/guava/src/com/google/common/collect/Sets.java
TreeSet<E> set = newTreeSet( ) ;LinkedHashSet<E> set = newLinkedHashSet( ) ;
LinkedHashSet<E> set = newLinkedHashSet ( ) ;
} public static <E extends @Nullable Object> LinkedHashSet<E> newLinkedHashSet( Iterable<? extends E> elements) { if (elements instanceof Collection) { return new LinkedHashSet<E>((Collection<? extends E>) elements); } <extra_id_0> Iterables.addAll(set, elements); return set; } public static <E extends @Nullable Object> LinkedHashSet<E> newLinkedHashSetWithExpectedSize( int expectedSize) { return new LinkedHashSet<E>(Maps.capacity(expectedSize));