Interface BiFunctionEx<T,​U,​R>

  • Type Parameters:
    T - the type of the first argument to the function
    U - the type of the second argument to the function
    R - the type of the result of the function
    All Superinterfaces:
    java.util.function.BiFunction<T,​U,​R>, com.hazelcast.security.impl.function.SecuredFunction, java.io.Serializable
    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 BiFunctionEx<T,​U,​R>
    extends java.util.function.BiFunction<T,​U,​R>, java.io.Serializable, com.hazelcast.security.impl.function.SecuredFunction
    Serializable variant of java.util.function.BiFunction which declares checked exception.
    Since:
    4.0
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default <V> BiFunctionEx<T,​U,​V> andThen​(FunctionEx<? super R,​? extends V> after)
      Serializable variant of java.util.function.BiFunction#andThen(Function).
      default R apply​(T t, U u)  
      R applyEx​(T t, U u)
      Exception-declaring version of BiFunction.apply(T, U).
      • Methods inherited from interface java.util.function.BiFunction

        andThen
      • Methods inherited from interface com.hazelcast.security.impl.function.SecuredFunction

        permissions
    • Method Detail

      • applyEx

        R applyEx​(T t,
                  U u)
           throws java.lang.Exception
        Exception-declaring version of BiFunction.apply(T, U).
        Throws:
        java.lang.Exception - in case of any exceptional case
      • apply

        default R apply​(T t,
                        U u)
        Specified by:
        apply in interface java.util.function.BiFunction<T,​U,​R>
      • andThen

        default <V> BiFunctionEx<T,​U,​V> andThen​(FunctionEx<? super R,​? extends V> after)
        Serializable variant of java.util.function.BiFunction#andThen(Function).
        Type Parameters:
        V - the type of output of the after function, and of the composed function