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

com.github.markozajc.ef.trifunction.ObjObjLongFunction Maven / Gradle / Ivy

package com.github.markozajc.ef.trifunction;

import java.util.function.Function;

/**
 * A {@link Function} variant that takes two generic types and a primitive long, and
 * returns a generic type.
 *
 * @author Marko Zajc
 *
 * @param 
 *            the type of the first argument to the function
 * @param 
 *            the type of the second argument to the function
 * @param 
 *            the type of the result of the function
 */
@FunctionalInterface
public interface ObjObjLongFunction {

	/**
	 * Applies this function to the given arguments.
	 *
	 * @param t
	 *            the first function argument
	 * @param u
	 *            the second function argument
	 * @param p
	 *            the third ({@code long}) function argument
	 *
	 * @return the function result
	 */
	R apply(T t, U u, long p);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy