public abstract class ObjectPool<T> extends Object
Constructor and Description |
---|
ObjectPool() |
ObjectPool(int capacity) |
Modifier and Type | Method and Description |
---|---|
T |
borrow() |
void |
giveBack(T object) |
protected abstract T |
newObject() |
protected abstract void |
reset(T object) |
Copyright © 2019 Optimatika. All rights reserved.