mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-24 05:54:31 +00:00
16 lines
386 B
Java
16 lines
386 B
Java
package com.gtnewhorizons.postea.api;
|
|
|
|
/**
|
|
* A simple function interface for functions with 3 parameters that must return a value.
|
|
*
|
|
* @param <T> The first parameter type.
|
|
* @param <U> The second parameter type.
|
|
* @param <O> The third parameter type.
|
|
* @param <R> The return type.
|
|
*/
|
|
@FunctionalInterface
|
|
public interface TriFunction<T, U, O, R> {
|
|
|
|
R apply(T t, U u, O o);
|
|
}
|