ListBuffer

fun <T> ListBuffer(size: Int, initializer: (Int) -> T)


fun <T> ListBuffer(list: List<T>)

Parameters

T

the type of elements contained in the buffer.