Class UncheckedBiProc<X,​Y>

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

    public final class UncheckedBiProc<X,​Y>
    extends Object
    implements BiProc<X,​Y>
    BiProc that doesn't throw checked Exception.

    There is no thread-safety guarantee.

    Since:
    0.22
    • Constructor Detail

      • UncheckedBiProc

        public UncheckedBiProc​(BiProc<X,​Y> prc)
        Ctor.
        Parameters:
        prc - Encapsulated proc
    • Method Detail

      • exec

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