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

com.github.akurilov.commons.func.Function3 Maven / Gradle / Ivy

There is a newer version: 2.3.6
Show newest version
package com.github.akurilov.commons.func;

import java.util.function.Function;

@FunctionalInterface
public interface Function3 {

	Z apply(final A a, final B b, final C c);

	static  Function partial(
		final Function3 f, final A a, final B b
	) {
		return (c) -> f.apply(a, b, c);
	}

	static  Function2 partial(final Function3 f, final A a) {
		return (b, c) -> f.apply(a, b, c);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy