get

abstract fun <T> get(size: Int, arrayClass: Class<T>): T

Returns a non-null array of the given type with a length >= to the given size.

If an array of the given size isn't in the pool, a new one will be allocated.

This class makes no guarantees about the contents of the returned array.

See also