src/main/java/com/workplacesystems/utilsj/collections/decorators/SynchronizedCollection.java
public static <E> Collection<E> decorate(Collection<E> coll) {
        return new SynchronizedCollection<E>(coll);
    }
public static <E> Collection<E> decorate(Collection<E> coll) {
        return new SynchronizedCollection<E>(coll);
    }
public static < E > Collection < E > decorate ( Collection < E > coll ) { return new SynchronizedCollection < E > ( coll ) ; }
Factory method to create a synchronized collection.

@param coll  the collection to decorate, must not be null
@throws IllegalArgumentException if collection is null
Factory method to create a synchronized collection .