diff src/main/java/fj/function/Try6.java @ 0:fe80c1edf1be

add getLoop
author tatsuki
date Fri, 20 Mar 2015 21:04:03 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/java/fj/function/Try6.java	Fri Mar 20 21:04:03 2015 +0900
@@ -0,0 +1,16 @@
+package fj.function;
+
+/**
+ * A transformation function of arity-6 from <code>A</code>, <code>B</code>, <code>C</code>, <code>D</code>, <code>E</code> and <code>F</code> to <code>G</code> that may throw an <code>Exception</code>.
+ *
+ * Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F6</code>.
+ *
+ * @see fj.Try#f
+ * @version %build.number%
+ */
+
+public interface Try6<A, B, C, D, E, F, G, Z extends Exception> {
+
+    G f(A a, B b, C c, D d, E e, F f) throws Z;
+
+}