If someone could explain what E... means in this addMany method it would be very appreciated. Example code:
/**
* Add a variable number of new elements to this ArrayBag
*
* @param elements A variable number of new elements to add to the ArrayBag
*/
public void addMany(E... elements) {
if (items + elements.length > elementArray.length) {
ensureCapacity((items + elements.length) * 2);
}
System.arraycopy(elements, 0, elementArray, items, elements.length);
items += elements.length;
}