Interface Factory<T>
- Type Parameters:
T
- the type of element to create
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory for creating elements of a certain type for a given context.
-
Method Summary
-
Method Details
-
create
Create an element using the supplied context.- Parameters:
context
- the context to use- Returns:
- the created element
-
createAndConfigure
Create and configure an element using the supplied context andconfigurer
.- Parameters:
context
- the context to useconfigurer
- the configurer to use- Returns:
- the created element
-