Class BiFuncOf<X,​Y,​Z>

  • Type Parameters:
    X - Type of input
    Y - Type of input
    Z - Type of output
    All Implemented Interfaces:
    BiFunc<X,​Y,​Z>

    public final class BiFuncOf<X,​Y,​Z>
    extends BiFuncEnveloppe<X,​Y,​Z>
    Represents many possible inputs as BiFunc.

    There is no thread-safety guarantee.

    Since:
    0.20
    • Constructor Detail

      • BiFuncOf

        public BiFuncOf​(Scalar<Z> scalar)
        Ctor.
        Parameters:
        scalar - The scalar
      • BiFuncOf

        public BiFuncOf​(Func<X,​Z> fnc)
        Ctor.
        Parameters:
        fnc - The func
      • BiFuncOf

        public BiFuncOf​(Proc<X> proc,
                        Z result)
        Ctor.
        Parameters:
        proc - The proc
        result - Result to return
      • BiFuncOf

        public BiFuncOf​(BiProc<X,​Y> proc,
                        Z result)
        Ctor.
        Parameters:
        proc - The proc
        result - Result to return
      • BiFuncOf

        public BiFuncOf​(BiFunc<X,​Y,​Z> fnc)
        Ctor.
        Parameters:
        fnc - The func