Interface Pool.Recycler<T>
-
- Type Parameters:
T- The pooled and recycled type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Pool.Recycler<T>
A Recycler puts objects into the pool that the recycler is associated with.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrecycle(T object)Recycles the given object to the pool that this recycler works with.
-
-
-
Method Detail
-
recycle
void recycle(T object)
Recycles the given object to the pool that this recycler works with.
-
-