Class IoCheckedBiProc<X,​Y>

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

    public final class IoCheckedBiProc<X,​Y>
    extends Object
    implements BiProc<X,​Y>
    BiProc that doesn't throw checked Exception, but throws IOException instead.

    There is no thread-safety guarantee.

    Since:
    0.22
    • Constructor Detail

      • IoCheckedBiProc

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

      • exec

        public void exec​(X first,
                         Y second)
                  throws IOException
        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:
        IOException