Interface FunctionalInterfaces.Intx2Consumer

  • Enclosing interface:
    FunctionalInterfaces
    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 static interface FunctionalInterfaces.Intx2Consumer
    Represents an operation that accepts two integers and returns no result. This is a functional interface whose functional method is accept(int,int).
    • Method Detail

      • accept

        void accept​(int i,
                    int j)
        Performs this operation on the given arguments.
        Parameters:
        i - a first integer
        j - a second integer