Class Unpool<E>
java.lang.Object
de.tomatengames.util.pool.Unpool<E>
- Type Parameters:
E- The type of object provided by thisUnpool.
- All Implemented Interfaces:
Pool<E>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Unpool
-
-
Method Details
-
claim
Claims a new instance of typeEby using the underlying supplier.The claimed object is not pooled and will be created anew each time. The
Pooled.free()method of the returnedPooledinstance does nothing.
-