Interface Recycler.C<T>
-
- All Known Implementing Classes:
AbstractRecyclerC
public static interface Recycler.C<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy(T value)Destroy the data.TnewInstance(int sizing)Create a new empty instance of the given size.voidrecycle(T value)Recycle the data.
-
-
-
Method Detail
-
newInstance
T newInstance(int sizing)
Create a new empty instance of the given size.
-
recycle
void recycle(T value)
Recycle the data. This operation is called when the data structure is released.
-
destroy
void destroy(T value)
Destroy the data. This operation allows the data structure to release any internal resources before GC.
-
-