T - chain typeR - result typepublic abstract class GaussFactory<T,R> extends GaussChain<T> implements DomainFactory<T,R>
| Constructor and Description |
|---|
GaussFactory() |
| Modifier and Type | Method and Description |
|---|---|
R |
manufacture(Function<List<T>,? extends R> mapper)
manufacture a single object by chains of modules
|
List<T> |
produce() |
List<R> |
produce(Function<? super T,? extends R> mapper)
produce a single object by the type of module
|
getModules, initpublic List<R> produce(@NonNull Function<? super T,? extends R> mapper)
DomainFactoryproduce in interface DomainFactory<T,R>mapper - function of creating chainspublic R manufacture(@NonNull Function<List<T>,? extends R> mapper)
DomainFactorymanufacture in interface DomainFactory<T,R>mapper - function of creating beanCopyright © 2022. All rights reserved.