Interface IOConsumer<T>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface IOConsumer<T>
    Consumer-like interface that allows an IOException to be thrown.
    See Also:
    Consumer
    • Method Detail

      • accept

        void accept​(T value)
             throws java.io.IOException
        Performs an operation on the given value.
        Throws:
        java.io.IOException - in case of error