Interface Consumer2<T1,​T2>

  • All Superinterfaces:
    BiConsumer<T1,​T2>
    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 Consumer2<T1,​T2>
    extends BiConsumer<T1,​T2>