T - The pooled type.public static interface Pools.Pool<T>
| Modifier and Type | Method and Description |
|---|---|
T |
acquire() |
boolean |
release(T instance)
Release an instance to the pool.
|
T acquire()
boolean release(T instance)
instance - The instance to release.IllegalStateException - If the instance is already in the pool.Copyright © 2015. All rights reserved.