private ResultContentEvent newResultContentEvent(double[] prediction,InstanceContentEvent inEvent){
  ResultContentEvent rce=new ResultContentEvent(inEvent.getInstanceIndex(),inEvent.getInstance(),inEvent.getClassId(),prediction,inEvent.isLastEvent());
  rce.setClassifierIndex(this.processorId);
  rce.setEvaluationIndex(inEvent.getEvaluationIndex());
  return rce;
}

private ResultContentEvent newResultContentEvent ( double [ ] prediction , InstanceContentEvent inEvent ) { ResultContentEvent rce = new ResultContentEvent ( inEvent . getInstanceIndex ( ) , inEvent . getInstance ( ) , inEvent . getClassId ( ) , prediction , inEvent . isLastEvent ( ) ) ; rce . setClassifierIndex ( this . processorId ) ; rce . setEvaluationIndex ( inEvent . getEvaluationIndex ( ) ) ; return rce ; }
helper method to generate new resultcontentevent based on an instance and its prediction result .
