public final class GenericMemoryPool<E>
MemoryPool for arbitrary types. Less efficient than MemoryPool, but
maybe more efficient than allocating. To be used if some data structure
is often allocated/deallocated.
- Simon Cruanes and Radoslaw Szymanek
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public E getNew()
get an instance of E
- an instance of type E stored here, or a fresh
instance from the factory
Copyright © 2018. All rights reserved.