Class ProcOf<X>

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

    public final class ProcOf<X>
    extends ProcEnvelope<X>
    Func as Proc.

    There is no thread-safety guarantee.

    Since:
    0.12
    • Constructor Detail

      • ProcOf

        public ProcOf​(Func<? super X,​?> fnc)
        Ctor.
        Parameters:
        fnc - The proc
      • ProcOf

        public ProcOf​(Proc<? super X> prc)
        Ctor.
        Parameters:
        prc - The proc