All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.polaris.core.function.ConsumerWithArgs3 Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package io.polaris.core.function;

import java.util.Objects;

/**
 * @author Qt
 * @since 1.8
 */
@FunctionalInterface
public interface ConsumerWithArgs3 {

	void accept(A a, B b, C c);

	default ConsumerWithArgs3 andThen(ConsumerWithArgs3 after) {
		Objects.requireNonNull(after);
		return (a, b, c) -> {
			accept(a, b, c);
			after.accept(a, b, c);
		};
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy