@ReplacedBy("java.util.Collections#addAll()")
    public static <T, E extends T, C extends Collection<T>> C addAll (C col, E[] values)
    {
        if (values != null) {
            for (E value : values) {
                col.add(value);
            }
        }
        return col;
    }
@ ReplacedBy ( "java.util.Collections#addAll()" ) public static < T , E extends T , C extends Collection < T > > C addAll ( C col , E [ ] values ) { if ( values != null ) { for ( E value : values ) { col . add ( value ) ; } } return col ; }
Adds all items in the given object array to the supplied collection and
returns the supplied collection. If the supplied array is null, nothing
is added to the collection.