diff options
Diffstat (limited to 'common-app-api')
-rw-r--r-- | common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java | 13 |
1 files changed, 13 insertions, 0 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 1cd030629e..d03ff05543 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,6 +79,19 @@ public class FunctionalInterfaces { */ void accept(T1 t1, T2 t2); } + + @FunctionalInterface + public interface ConsumerThreeParam<T1, T2, T3> { + + /** + * Same Accept method, but takes three parameters + * + * @param t1 + * @param t2 + * @param t3 + */ + void accept(T1 t1, T2 t2, T3 t3); + } /** * @param <T1> |