diff --git a/resident/resident-service/src/main/java/io/mosip/resident/function/QuadFunction.java b/resident/resident-service/src/main/java/io/mosip/resident/function/QuadFunction.java new file mode 100644 index 00000000000..008078bb01d --- /dev/null +++ b/resident/resident-service/src/main/java/io/mosip/resident/function/QuadFunction.java @@ -0,0 +1,27 @@ +package io.mosip.resident.function; + +/** + * + * @author Loganathan Sekar + * + * @param Type Argument 1 + * @param Type Argument 2 + * @param Type Argument 3 + * @param Type Argument 4 + * @param Return type + */ +@FunctionalInterface +public interface QuadFunction { + + /** + * Applies this function to the given arguments. + * + * @param t the first function argument + * @param u the second function argument + * @param v the third function argument + * @param w the fourth function argument + * @return the function result + */ + R apply(T t, U u, V v, W w); + +}