org.libj.util.function.TriObjShortFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of util Show documentation
Show all versions of util Show documentation
Supplementary utilities for classes that belong to java.util, or are considered essential as to justify existence in java.util.
The newest version!
/* Copyright (c) 2022 LibJ
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* You should have received a copy of The MIT License (MIT) along with this
* program. If not, see .
*/
package org.libj.util.function;
import javax.annotation.Generated;
/**
* Represents a function that accepts three object-valued argument and a
* {@code short}-valued argument, and produces a result. This is the three-arity
* specialization of {@link java.util.function.Function}.
*
* @param The type of the object argument to the operation.
* @param The type of the second object argument to the operation.
* @param The type of the third object argument to the operation.
* @param The type of the result of the function.
* @see TriFunction
*/
@FunctionalInterface
@Generated(value="org.openjax.codegen.template.Templates", date="2024-02-27T13:50:20.763")
public interface TriObjShortFunction {
/**
* Performs this operation on the given arguments.
*
* @param t The first input argument.
* @param u The second input argument.
* @param v The third input argument.
* @param i The fourth input argument.
* @return The function result.
*/
R apply(T t, U u, V v, short i);
}