Collection Java Book

static void fill(List list, T obj)
Replaces all of the elements of the specified list with the specified element.