public void addAll(Array<? extends T> array, int offset, int length) { if (offset + length > array.size) throw new IllegalArgumentException( "offset + length must be <= size: " + offset + " + " + length + " <= " + array.size); addAll((T[]) array.items, offset, length); }
public void addAll(T[] array) { addAll(array, 0, array.length); }
public void addAll(Array<? extends T> array) { addAll(array, 0, array.size); }