Poolable


public abstract class Poolable<T extends Poolable<@NonNull T>>


Represents an object that can be reused using a Pool. This avoids GC churn.

Summary

Public methods

abstract void

Recycles the object, and hands it back to the pool.

Public methods

recycle

Added in 2.0.0-alpha01
public abstract void recycle()

Recycles the object, and hands it back to the pool.