mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
完善注释
This commit is contained in:
parent
496857e67a
commit
41719e394c
@ -17,10 +17,14 @@ import java.util.function.Supplier;
|
||||
public final class LazyFunLoader<T> extends LazyLoader<T> {
|
||||
|
||||
/**
|
||||
* 对象生成函数
|
||||
* 用于生成对象的函数
|
||||
*/
|
||||
private Supplier<T> supplier;
|
||||
|
||||
/**
|
||||
* 构造
|
||||
* @param supplier 用于生成对象的函数
|
||||
*/
|
||||
public LazyFunLoader(Supplier<T> supplier) {
|
||||
Assert.notNull(supplier);
|
||||
this.supplier = supplier;
|
||||
|
Loading…
x
Reference in New Issue
Block a user