Class BiProcOf<X,​Y>

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

    public final class BiProcOf<X,​Y>
    extends BiProcEnvelope<X,​Y>
    Represents many possible inputs as BiProc.

    There is no thread-safety guarantee.

    Since:
    0.50
    • Constructor Detail

      • BiProcOf

        public BiProcOf​(Func<? super X,​?> func)
        Ctor.
        Parameters:
        func - The function
      • BiProcOf

        public BiProcOf​(Proc<? super X> prc)
        Ctor.
        Parameters:
        prc - The procedure
      • BiProcOf

        public BiProcOf​(Proc<? super X> first,
                        Proc<? super Y> second)
        Ctor.
        Parameters:
        first - The procedure on first arg.
        second - The procedure on second arg.
      • BiProcOf

        public BiProcOf​(BiFunc<? super X,​? super Y,​?> func)
        Ctor.
        Parameters:
        func - The bi function
      • BiProcOf

        public BiProcOf​(BiProc<? super X,​? super Y> biprc)
        Ctor.
        Parameters:
        biprc - The bi procedure