Interface R2<E1,​E2,​R>

  • Type Parameters:
    E1 - Type of the free variable, i.e. the element the closure is called or closed on.
    R - Type of the closure's return value.
    All Superinterfaces:
    IgniteOutClosure<R>, IgniteReducer2<E1,​E2,​R>, Serializable

    public interface R2<E1,​E2,​R>
    extends IgniteReducer2<E1,​E2,​R>
    Defines alias for IgniteReducer2 by extending it. Since Java doesn't provide type aliases (like Scala, for example) we resort to these types of measures. This is intended to provide for more concise code in cases when readability won't be sacrificed. For more information see IgniteReducer2.
    See Also:
    GridFunc, IgniteReducer2