Interface Setup<C,B>
- Type Parameters:
C- The container type.B- The builder type: the effective type of the derived builder implementation, at least this type itself.
- All Known Implementing Classes:
Charger,DataBuilder,LateBuilder,ProtoBuilder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines a generic interface for a uniform, basic implementation of a typical builder pattern.
It assumes that the information to be gathered during the build process should be collected in a
target instance attached to or created by the builder.
-
Method Summary
-
Method Details
-
setup
Accepts aConsumeras modifying operation to be performed on a target instance immediately or no later than the final build() operation and returns the builder instance itself.
-