Interface TransformerSink<T>

  • Type Parameters:
    T - the type of the collected elements.

    public interface TransformerSink<T>
    Collects the results of a transformation. Instances of this interface must be threadsafe.

    Module: filter-api

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

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>filter-api</artifactId>
    </dependency>

    Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
    • Method Detail

      • collect

        void collect​(T element)
        Called for each element that is produced from a transformation.
        Parameters:
        element - an element produced by a transformation.