public class Pool<T> extends Object
Supplier
Pool(Supplier<T> creator, int poolsize)
T
borrow()
void
give(T object)
Pool<T>
onGive(Consumer<T> applyOnGive)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Pool(Supplier<T> creator, int poolsize)
public T borrow()
public void give(T object)
object
public Pool<T> onGive(Consumer<T> applyOnGive)
applyOnGive
Copyright © 2019 sejda. All rights reserved.