public int addOutput(){
  int index=outputs.size();
  outputs.add(Functions.discard());
  outputContext.add(DEFAULT_OUTPUT_CONTEXT);
  return index;
}

public int addOutput ( ) { int index = outputs . size ( ) ; outputs . add ( Functions . discard ( ) ) ; outputContext . add ( DEFAULT_OUTPUT_CONTEXT ) ; return index ; }
adds a new output . by default , the output is connected to a consumer that discards all items passed to it .
