Interface IntIntConsumer

  • 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 IntIntConsumer
    An operation consuming two arguments - int and int.

    Implementations of this interface will operate using side-effects.

    • Method Detail

      • accept

        void accept​(int intValue1,
                    int intValue2)
        Consumes the values, performing an action.
        Parameters:
        intValue1 - the first argument
        intValue2 - the second argument