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

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

There is a newer version: 4.0.1
Show newest version
package com.linkedin.parseq.function;

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

@FunctionalInterface
public interface Function4 {

    R apply(T1 t1, T2 t2, T3 t3, T4 t4) throws Exception;

    default  Function4 andThen(Function1 f) {
        Objects.requireNonNull(f);
        return (T1 t1, T2 t2, T3 t3, T4 t4) ->
          f.apply(apply(t1, t2, t3, t4));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy