Interface CheckedIntConsumer<T extends java.lang.Exception>

  • 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 CheckedIntConsumer<T extends java.lang.Exception>
    Like IntConsumer, but may throw checked exceptions.
    • Method Detail

      • accept

        void accept​(int value)
             throws T extends java.lang.Exception
        Process the given value.
        Throws:
        T extends java.lang.Exception
        See Also:
        IntConsumer.accept(int)