code: public void addDataSink(GenericDataSinkBase<?> sink) {
  		checkNotNull(sink, "The data sink must not be null.");
  		
  		if (!this.sinks.contains(sink)) {
  			this.sinks.add(sink);
  		}
  	}
docs: Adds a data sink to the set of sinks in this program.
  
  @param sink The data sink to add.