@Override
        public boolean hasNext() {
            return count < sizeAsInt();
        }
Fill the given list with nulls if necessary to make sure it has a (possibly null) value at the given index
vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java