utils

List

function

List

T[]

list

@paramvalueT

deafult array item value

@paramlengthnumber

the length of the new array

@returns

a new array ,of length = length, arr[i] = value;