Package com.prineside.tdi2.utils
Class SafePools.RegularPool<T>
java.lang.Object
com.prineside.tdi2.utils.SafePools.RegularPool<T>
- All Implemented Interfaces:
SafePools.Pool<T>
- Direct Known Subclasses:
SafePools.ReflectionPool
- Enclosing class:
- SafePools
-
Field Details
-
max
protected final int max -
items
-
itemCount
protected int itemCount
-
-
Method Details
-
obtain
- Specified by:
obtain
in interfaceSafePools.Pool<T>
-
free
- Specified by:
free
in interfaceSafePools.Pool<T>
-
reset
-
discard
-
clear
public void clear() -
getFree
public int getFree()
-