threadSafeList
Returns a new Pool that never returns null
and that contains Lists of a specific generic type with a standard maximum size of 20.
If the pool is empty when acquire is called, a new List will be created.
Parameters
<T>
The type of object that the Lists will contain.
Returns a new thread safe Pool that never returns null
and that contains Lists of a specific generic type with the given maximum size.
If the pool is empty when acquire is called, a new List will be created.
Parameters
<T>
The type of object that the Lists will contain.