Module iu.util
Package edu.iu

Interface UnsafeBiConsumer<T,U>

Type Parameters:
T - First argument type
U - Second argument type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UnsafeBiConsumer<T,U>
Equivalent to BiConsumer, but may throw any exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T firstArgument, U secondArgument)
    Accepts two arguments using unsafe code.
  • Method Details

    • accept

      void accept(T firstArgument, U secondArgument) throws Throwable
      Accepts two arguments using unsafe code.
      Parameters:
      firstArgument - The argument.
      secondArgument - The argument.
      Throws:
      Throwable - If thrown by the unsafe code.