makeArray

format

MediaObject[] makeArray(int length)

description

Creates a single-dimensional array of MediaObjects of the specified length. You can use this method, for example, to create an array with which to populate a new MediaCollection.

parameters

length - the number of elements to create in the array

returns

a one-dimensional array of MediaObjects of the specified length.

throws

The makeArray() method does not throw any exceptions.