Here you can find the source of fillNull(List lst, int size)
public static void fillNull(List lst, int size)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { public static void fillNull(List lst, int size) { for (int i = lst.size(); i < size; i++) { lst.add(null);/*from ww w. j ava 2 s .c om*/ } } }