public static <T> void addAll(T[] lhs, Collection<T> rhs) {
		for(int i=0;i!=lhs.length;++i) {
			rhs.add(lhs[i]);
		}
	}
public static <T> void addAll(T[] lhs, Collection<T> rhs) {
		for(int i=0;i!=lhs.length;++i) {
			rhs.add(lhs[i]);
		}
	}
public static < T > void addAll ( T [ ] lhs , Collection < T > rhs ) { for ( int i = 0 ; i != lhs . length ; ++ i ) { rhs . add ( lhs [ i ] ) ; } }
Add all elements from an array into a given collection of the same type.

@param lhs
The left-hand side. Elements of this array will be added to
the collection.
@param rhs
The right-hand side. Elements from the left-hand side will be
added to this collection.
Add all elements from an array into a given collection of the same type .