Class BiFuncEnveloppe<X,​Y,​Z>

  • Type Parameters:
    X - Type of input
    Y - Type of input
    Z - Type of output
    All Implemented Interfaces:
    BiFunc<X,​Y,​Z>
    Direct Known Subclasses:
    BiFuncOf, SolidBiFunc

    public abstract class BiFuncEnveloppe<X,​Y,​Z>
    extends Object
    implements BiFunc<X,​Y,​Z>
    Enveloppe of BiFunc.
    Since:
    0.50
    • Constructor Detail

      • BiFuncEnveloppe

        public BiFuncEnveloppe​(BiFunc<X,​Y,​Z> func)
        Ctor.
        Parameters:
        func - The function
    • Method Detail

      • apply

        public final Z apply​(X first,
                             Y second)
                      throws Exception
        Description copied from interface: BiFunc
        Apply it.
        Specified by:
        apply in interface BiFunc<X,​Y,​Z>
        Parameters:
        first - The first argument
        second - The second argument
        Returns:
        The result
        Throws:
        Exception - If fails