boxing

inline fun <T> boxing(size: Int, initializer: (Int) -> T): Buffer<T>(source)

Creates a ListBuffer of given type T with given size. Each element is calculated by calling the specified initializer function.