public static <E> FilterableCollection<E> decorate(FilterableCollection<E> collection) {
        return new SynchronizedFilterableCollection<E>(collection);
    }
public static < E > FilterableCollection < E > decorate ( FilterableCollection < E > collection ) { return new SynchronizedFilterableCollection < E > ( collection ) ; }
Factory method to create a synchronized map.

@param map  the map to decorate, must not be null
@throws IllegalArgumentException if map is null