- All Known Subinterfaces:
public interface CyDisposable
An interface for objects that require an explicit clean up at the end of their lifecycle. Users of CyDisposable objects must call dispose() when the instances are no longer required or memory/resource leaks may occur.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>model-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
disposevoid dispose()Free up any memory or resources used by this object.