- 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.
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.
void collect(T element)Called for each element that is produced from a transformation.
element- an element produced by a transformation.