public interface CommandWithDispose extends Command(Code)
This interface is implemented by Commands that need to know when
they are deleted from an interpreter. Most commands do not need
to know when they are deleted in Java because Java will garbage
collect any allocations made by the command. However, sometimes
a command may hold onto resources that must be explicitly released.
This interface allows those commands to be notified when they are
being deleted from the interpreter.