T - type of objects in the poolstatic class BaseGenericObjectPool.IdentityWrapper<T>
extends java.lang.Object
| Constructor and Description |
|---|
IdentityWrapper(T instance)
Create a wrapper for an instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
T |
getObject() |
int |
hashCode() |
private final T instance
public IdentityWrapper(T instance)
instance - object to wrappublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic T getObject()