Class DummySinkBuilder

java.lang.Object
repast.simphony.data2.builder.DummySinkBuilder
All Implemented Interfaces:
SinkBuilder

public class DummySinkBuilder extends Object implements SinkBuilder
Adapts an already created DataSink to the the SinkBuilder interface.
Author:
Nick Collier
  • Constructor Details

    • DummySinkBuilder

      public DummySinkBuilder(DataSink sink)
  • Method Details

    • create

      public DataSink create(Collection<? extends DataSource> sources)
      Description copied from interface: SinkBuilder
      Creates and returns a DataSink.
      Specified by:
      create in interface SinkBuilder
      Parameters:
      sources - the DataSources the that will feed the created DataSink
      Returns:
      the created DataSink.