I am getting the error,
The type must implement the inherited abstract method, with the method runProcess() in the class ProcessRunner. Why am I getting the error? How can I get rid of the error?
Any help would be much appreciated.
public abstract class Calculation<T>
implements Validation<T, Void>{
public final Void calculate(T amount){
execute(amount);
return null;
}
public abstract void execute(T paramT);
}
public class ProcessRunner {
private void runProcess(List<String> process) {
ListMaker.with(process).forEach(new Action()
{
public void execute(String from) {
.....
.....
}
});
}
}