Interface CyDisposable

All Known Subinterfaces:
CyNetwork, CyNetworkView, CyNetworkViewSnapshot, CyRootNetwork, CySubNetwork, CyTableView, NullCyNetworkView, RenderingEngine<T>

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.

Module: model-api

To use this in your app, include the following dependency in your POM:


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.
  • Method Summary

    Modifier and Type
    Free up any memory or resources used by this object.
  • Method Details

    • dispose

      void dispose()
      Free up any memory or resources used by this object.