@@ -0,0 +1,452 @@
+%0Apackage imagej.ops;%0A%0A/**%0A * TODO%0A * %0A * @author Christian Dietz%0A * @author Martin Horn%0A * @author NOT CURTIS RUEDEN%0A */%0Apublic abstract class UnaryFunction%3CI, O%3E implements Op %7B%0A%0A%09public abstract I getInput();%0A%0A%09public abstract O getOutput();%0A%0A%09public abstract void setInput(I input);%0A%0A%09public abstract void setOutput(O output);%0A%0A%09public abstract O compute(I input, O output);%0A%0A%09@Override%0A%09public void run() %7B%0A%09%09compute(getInput(), getOutput());%0A%09%7D%0A%7D%0A

Add UnaryFunction subinterface