Package org.apache.ignite.lang

## Interface IgniteBiClosure<E1,​E2,​R>

- Type Parameters:
    `E1` - Type of the first parameter.
    `E2` - Type of the second parameter.
    `R` - Type of the closure's return value.
  All Superinterfaces:
    `Serializable`

      public interface IgniteBiClosure<E1,​E2,​R>
      extends Serializable

  Defines generic closure with two parameters. Bi-Closure is a simple executable which accepts two parameters and returns a value.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `R` | `apply​(E1 e1, E2 e2)` | Closure body.

- - ### Method Detail

    - #### apply

          R apply​(E1 e1,
                  E2 e2)

      Closure body.
      Parameters:
        `e1` - First parameter.
        `e2` - Second parameter.
      Returns:
        Closure return value.