public CopyOnWriteArraySet (Collection<? extends E> c)

Creates a set containing all of the elements of the specified collection.

Parameters:
c    the collection of elements to initially contain

Exceptions:
NullPointerException    if the specified collection is null