Interface IntDoubleConsumer

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

    Implementations of this interface will operate using side-effects.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void accept​(int intValue, double doubleValue)
      Consumes the values, performing an action.
    • Method Detail

      • accept

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