All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.linkedin.parseq.function.Function7 Maven / Gradle / Ivy

package com.linkedin.parseq.function;

import java.util.Objects;
import com.linkedin.parseq.function.Function1;

@FunctionalInterface
public interface Function7 {

    R apply(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7) throws Exception;

    default  Function7 andThen(Function1 f) {
        Objects.requireNonNull(f);
        return (T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7) ->
          f.apply(apply(t1, t2, t3, t4, t5, t6, t7));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy