Interface ObjIntConsumer<T>

Type Parameters:
T - the object type
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 ObjIntConsumer<T>
An operation on an object and a int that answers nothing; the int form of BiConsumer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t, int value)
    Performs this operation.
  • Method Details

    • accept

      void accept(T t, int value)
      Performs this operation.
      Parameters:
      t - the object
      value - the int