diff options
Diffstat (limited to 'spellchecker/src/TriFunction.java')
-rw-r--r-- | spellchecker/src/TriFunction.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spellchecker/src/TriFunction.java b/spellchecker/src/TriFunction.java new file mode 100644 index 0000000..327e670 --- /dev/null +++ b/spellchecker/src/TriFunction.java @@ -0,0 +1,13 @@ + +/** + * An interface for a lambda function accepting three different parameters. + * + * @author Peter Wu + * @param <A> + * @param <B> + * @param <C> + */ +interface TriFunction<A, B, C> { + + public void call(A a, B b, C c); +} |