IdentityWrapper

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

Constructors

this
this(T instance)

Create a wrapper for an instance.

Members

Functions

getObject
T getObject()

@return the wrapped object

opEquals
bool opEquals(Object other)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta