@override void writeArray(List<T> array) { for (int i = 0; i < array.length; i++) { this[i] = array[i]; } }