Interface Consumer3<P1,P2,P3>

Type Parameters:
P1 - 参数一类型
P2 - 参数二类型
P3 - 参数三类型
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 Consumer3<P1,P2,P3>
参数Consumer
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(P1 p1, P2 p2, P3 p3)
    接收参数方法
  • Method Details

    • accept

      void accept(P1 p1, P2 p2, P3 p3)
      接收参数方法
      Parameters:
      p1 - 参数一
      p2 - 参数二
      p3 - 参数三