public class Recycler<T> extends Object
static LongAdder
HIT_COUNT
TOTAL_COUNT
Recycler(int instanceCount, Supplier<T> supplier)
Recycler(Supplier<T> supplier)
T
getInstance()
static List<Recycler>
getRecyclerList()
void
recycleInstance(T value)
String
toString()
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final LongAdder TOTAL_COUNT
public static final LongAdder HIT_COUNT
public Recycler(Supplier<T> supplier)
public Recycler(int instanceCount, Supplier<T> supplier)
public static List<Recycler> getRecyclerList()
public T getInstance()
public void recycleInstance(T value)
value
public String toString()
toString
Object
Copyright © 2020. All rights reserved.