Class ProcNoNulls<X>

  • Type Parameters:
    X - Type of input
    All Implemented Interfaces:
    Proc<X>

    public final class ProcNoNulls<X>
    extends Object
    implements Proc<X>
    Proc check for no nulls.
    Since:
    0.11
    • Constructor Detail

      • ProcNoNulls

        public ProcNoNulls​(Proc<? super X> proc)
        Ctor.
        Parameters:
        proc - The procedure
    • Method Detail

      • exec

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