public class Builder<T> extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
T |
build() |
static <T> Builder<T> |
of(java.util.function.Supplier<T> instanceSupplier) |
<P1> Builder<T> |
with(Consumer2<T,P1> consumer,
P1 p1) |
<P1,P2> Builder<T> |
with(Consumer3<T,P1,P2> consumer,
P1 p1,
P2 p2) |
<P1,P2,P3> Builder<T> |
with(Consumer4<T,P1,P2,P3> consumer,
P1 p1,
P2 p2,
P3 p3) |
public static <T> Builder<T> of(java.util.function.Supplier<T> instanceSupplier)
public T build()
Copyright © 2023. All rights reserved.