public class ReflectionPool<T> extends Pool<T>
Constructor.setAccessible(boolean)
will be used if the class and/or constructor is not visible.Pool.Poolable
Constructor and Description |
---|
ReflectionPool(java.lang.Class<T> type) |
ReflectionPool(java.lang.Class<T> type,
int initialCapacity) |
ReflectionPool(java.lang.Class<T> type,
int initialCapacity,
int max) |
Modifier and Type | Method and Description |
---|---|
protected T |
newObject() |