Class BiProcNoNulls<X,​Y>

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

    public final class BiProcNoNulls<X,​Y>
    extends Object
    implements BiProc<X,​Y>
    BiProc check for no nulls.
    Since:
    0.20
    • Constructor Detail

      • BiProcNoNulls

        public BiProcNoNulls​(BiProc<? super X,​? super Y> proc)
        Ctor.
        Parameters:
        proc - The function
    • Method Detail

      • exec

        public void exec​(X first,
                         Y second)
                  throws Exception
        Description copied from interface: BiProc
        Execute it.
        Specified by:
        exec in interface BiProc<X,​Y>
        Parameters:
        first - The first argument
        second - The second argument
        Throws:
        Exception - If fails