T - 目标 类型P1 - 参数一 类型P2 - 参数二 类型@FunctionalInterface public interface Supplier2<T,P1,P2>
| Modifier and Type | Method and Description |
|---|---|
T |
get(P1 p1,
P2 p2)
生成实例的方法
|
default Supplier<T> |
toSupplier(P1 p1,
P2 p2)
将带有参数的Supplier转换为无参
Supplier |
Copyright © 2025. All rights reserved.