- All Implemented Interfaces:
Function<T,T>
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
ObjectPool
public ObjectPool(int size,
Supplier<T> supplier)
-
Method Details
-
-
recycle
public <K extends T> void recycle(@Nonnull
K v)
-
-