Package java.util
Class Collections
static List nCopies(int n, Object o)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns an immutable list consisting of n copies of the specified object. The newly allocated data object is tiny (it contains a single reference to the data object). This method is useful in combination with the List.addAll method to grow lists. The returned list is serializable.