com.commercetools.sync.commons.utils.TriConsumer Maven / Gradle / Ivy
package com.commercetools.sync.commons.utils;
import java.util.function.Consumer;
import javax.annotation.Nullable;
/**
* Represents an operation that accepts three arguments and returns no result. This is the
* three-arity specialization of {@link Consumer}.
*
* This is a functional interface whose functional method is
* {@link #accept(Object, Object, Object)}.
*
* @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 third argument to the function
* @see Consumer
*/
@FunctionalInterface
public interface TriConsumer {
/**
* Performs operation on the given arguments.
*
* @param firstParam the first argument.
* @param secondParam the second argument.
* @param thirdParam the third argument.
*/
void accept(
@Nullable final T firstParam, @Nullable final U secondParam, @Nullable final V thirdParam);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy