Interface Recycable

Interface to be implemented by objects that can be recycled, i.e. to avoid garbage collection by reusing the object instead of replacing it with a new one.

interface Recycable {
    recycle(): void;
}

Implemented by

Methods

Methods