/guava/guava/src/com/google/common/collect/Synchronized.java
if ( collection instanceof List) { }return set( ( Set<E>) collection, mutex) ;
return set ( ( Set<E> ) collection, mutex ) ; } if ( collection instanceof List ) {
private static <E extends @Nullable Object> Collection<E> typePreservingCollection( Collection<E> collection, @CheckForNull Object mutex) { if (collection instanceof SortedSet) { return sortedSet((SortedSet<E>) collection, mutex); } if (collection instanceof Set) { <extra_id_0> return list((List<E>) collection, mutex); } return collection(collection, mutex); } private static <E extends @Nullable Object> Set<E> typePreservingSet( Set<E> set, @CheckForNull Object mutex) {