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