diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-08-26 12:17:08 +0100 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2021-08-26 20:22:26 +0000 |
commit | 4701612ba26c4b8c7c7e9fbfa38f582a4b74669f (patch) | |
tree | 8516c4cffec989c90bf31601454625a47d270bdb /common-app-api/src/main/java | |
parent | 69cb5577bc59f8b25b0b267f5ea5e37c6aa20dbd (diff) |
Add types to imports
Change-Id: Ifa1dea17841d8667044aff4e7a9a17b2a75b78e4
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3684
Diffstat (limited to 'common-app-api/src/main/java')
-rw-r--r-- | common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java | 16 |
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> |