| Modifier and Type | Interface and Description |
|---|---|
| public interface | Resettable
An interface for recycleable objects that need to be reset when |
| Modifier and Type | Class and Description |
|---|---|
| public class | RecycleOnClose<
the type to recycle T, the exception type that may be thrown when a recyclable item is acquired. E extends Exception>An AutoCloseable wrapper for a recyclable object instance. |
| public abstract class | Recycler<
The type to recycle. T, An exception that can be thrown while acquiring an instance of the type to recycle, or
E extends Exception>RuntimeException if none.Recycler for instances of type T, where instantiating this type may throw checked exception E. |