net.charlesames.utility.common
Class Disposable

java.lang.Object
  extended by net.charlesames.utility.common.Disposable
Direct Known Subclasses:
Entity, MidiEntity, MusicXmlEntity

public abstract class Disposable
extends java.lang.Object

Base class for objects which contain a disposable method to release resources.

Author:
Charles Ames

Constructor Summary
Disposable()
          Constructor for Disposable instances
 
Method Summary
abstract  void dispose()
          Release resources engaged by this object, thus rendering it amenable to garbage collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Disposable

public Disposable()
Constructor for Disposable instances

Method Detail

dispose

public abstract void dispose()
Release resources engaged by this object, thus rendering it amenable to garbage collection.