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.

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.

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

    Modifier and Type
    Method
    Description
    void
    collect(T element)
    Called for each element that is produced from a transformation.
  • Method Details

    • collect

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