Skip to content

Commit ccab892

Browse files
gselzerctrueden
authored andcommitted
Add Computer6
1 parent 34e5dea commit ccab892

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package org.scijava.ops.core.computer;
2+
3+
import org.scijava.ops.core.Consumer7;
4+
import org.scijava.param.Mutable;
5+
6+
@FunctionalInterface
7+
public interface Computer6<I1, I2, I3, I4, I5, I6, O> extends Consumer7<I1, I2, I3, I4, I5, I6, O> {
8+
void compute(I1 in1, I2 in2, I3 in3, I4 in4, I5 in5, I6 in6, @Mutable O out);
9+
10+
@Override
11+
default void accept(I1 in1, I2 in2, I3 in3, I4 in4, I5 in5, I6 in6, O out) {
12+
compute(in1, in2, in3, in4, in5, in6, out);
13+
}
14+
}

0 commit comments

Comments
 (0)