Interface ObjectPool.ObjectCreator<T>
- Type Parameters:
T- the type of the pooled object
- Enclosing class:
ObjectPool<T>
Deprecated.
Creates a new Object which references the given
ObjectPool.Handle and calls ObjectPool.Handle.recycle(Object) once
it can be re-used.-
Method Summary
Modifier and TypeMethodDescriptionnewObject(ObjectPool.Handle<T> handle) Deprecated.Creates an returns a newObjectthat can be used and later recycled viaObjectPool.Handle.recycle(Object).
-
Method Details
-
newObject
Deprecated.Creates an returns a newObjectthat can be used and later recycled viaObjectPool.Handle.recycle(Object).- Parameters:
handle- can NOT be null.
-
invalid reference