
com.github.tommyettinger.function.ObjObjBiConsumer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of funderby Show documentation
Show all versions of funderby Show documentation
Java 8+ functional interfaces for primitive types
The newest version!
package com.github.tommyettinger.function;
/**
* Represents an operation that accepts
* two input arguments with potentially different types and returns no result.
*
* This is identical to {@code BiConsumer} in Java 8, and is present here so environments
* that support lambdas but not Java 8 APIs (such as RoboVM) can use it.
*
* This is a functional interface
* whose functional method is {@link #accept(Object, Object)}.
*/
@FunctionalInterface
public interface ObjObjBiConsumer {
/**
* Performs this operation on the given arguments.
*
* @param t the first input argument
* @param u the second input argument
*/
void accept(T t, U u);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy