13 lines
362 B
Java
13 lines
362 B
Java
package com.comphenix.protocol.wrappers.collection;
|
|
|
|
/**
|
|
* Represents a function that accepts two parameters.
|
|
* @author Kristian
|
|
* @param <T1> - type of the first parameter.
|
|
* @param <T2> - type of the second parameter.
|
|
* @param <TResult> - type of the return value.
|
|
*/
|
|
public interface BiFunction<T1, T2, TResult> {
|
|
TResult apply(T1 arg1, T2 arg2);
|
|
}
|