summaryrefslogtreecommitdiffstats
path: root/common-app-api
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-api')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java b/common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java
index d03ff05543..a0d0b68be7 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java
@@ -79,7 +79,7 @@ public class FunctionalInterfaces {
*/
void accept(T1 t1, T2 t2);
}
-
+
@FunctionalInterface
public interface ConsumerThreeParam<T1, T2, T3> {
@@ -93,6 +93,20 @@ public class FunctionalInterfaces {
void accept(T1 t1, T2 t2, T3 t3);
}
+ @FunctionalInterface
+ public interface ConsumerFourParam<T1, T2, T3, T4> {
+
+ /**
+ * Same Accept method, but takes four parameters
+ *
+ * @param t1
+ * @param t2
+ * @param t3
+ * @param t4
+ */
+ void accept(T1 t1, T2 t2, T3 t3, T4 t4);
+ }
+
/**
* @param <T1>
* @param <T2>