T - type of chainsR - type of beanpublic interface DomainFactory<T,R>
| Modifier and Type | Method and Description |
|---|---|
default R |
manufacture(Function<List<T>,? extends R> mapper)
manufacture a single object by chains of modules
|
default List<R> |
produce(Function<? super T,? extends R> mapper)
produce a single object by the type of module
|
Copyright © 2022. All rights reserved.