code: public static <T> Collection<T> asSynchronized(Collection<T> self) {
          return Collections.synchronizedCollection(self);
      }
docs: A convenience method for creating a synchronized Collection.
  
  @param self a Collection
  @return a synchronized Collection
  @see java.util.Collections#synchronizedCollection(java.util.Collection)
  @since 1.0