T - Type that gets created by the factory.P - Parameter that is used for creation.X - Exception that can get thrown during execution of the factory
method. If no exception is thrown, use
NeverThrownRuntimeException.@FunctionalInterface public interface IParameterizedFactory<T,P,X extends java.lang.Exception>
| Modifier and Type | Method and Description |
|---|---|
T |
create(P parameter)
Factory method
|