code: 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;
  	}
docs: Helper method to generate new ResultContentEvent based on an instance and
  its prediction result.
  @param prediction The predicted class label from the decision tree model.
  @param inEvent The associated instance content event
  @return ResultContentEvent to be sent into Evaluator PI or other destination PI.