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

com.kirekov.sneaky.lambda.CheckedBiConsumer Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package com.kirekov.sneaky.lambda;

import java.util.function.BiConsumer;

/**
 * BiConsumer that may throw {@linkplain Exception}.
 *
 * @param  the first input argument
 * @param  the second input argument
 * @see BiConsumer
 */
public interface CheckedBiConsumer {

  /**
   * Performs the operation on the given arguments.
   *
   * @param t the first input argument
   * @param u the second input argument
   * @throws Exception if any error occurs
   */
  void accept(T t, U u) throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy