package ch.zhaw.dna.ssh.mapreduce.model.framework;

import java.util.List;

public interface ReduceTask extends Task {
	
	public void reduce(ReduceRunner reduceRunner, List<MapRunner> mapRunners);

}

package ch.zhaw.dna.ssh.mapreduce.model.framework;

import java.util.Iterator;

public interface ReduceTask extends Task {
	
	public void reduce(String key, Iterator<String> values);

}

use iterator for reducetask