Wrapper for objects under management by the pool.
GenericObjectPool and GenericKeyedObjectPool maintain references to all objects under management using maps keyed on the objects. This wrapper class ensures that objects can work as hash keys.
@param <T> type of objects in the pool
Create a wrapper for an instance.
@return the wrapped object
See Implementation
Wrapper for objects under management by the pool.
GenericObjectPool and GenericKeyedObjectPool maintain references to all objects under management using maps keyed on the objects. This wrapper class ensures that objects can work as hash keys.
@param <T> type of objects in the pool