void fill(List<int> other) { assert(other.length >= 10); for (int i = 0; i < 10; i++) { h[i] = other[i]; } }