newObject

@NonNull
open fun newObject(): PoolObject

Creates a new object or returns a free object from the pool.

Return

a PoolObject instance already initialized