Package java.util
Class Collections

Public Method fill

static void fill(List l, Object val)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Replaces all of the elements of the specified list with the specified element.

This method runs in linear time.