DATATYPE - The type of object to create.PARAMTYPE - The type of the parameter.public interface IFactoryWithParameter<DATATYPE,PARAMTYPE>
| Modifier and Type | Method and Description |
|---|---|
DATATYPE |
create(PARAMTYPE aParameter)
Create an object of the desired type.
|
@DevelopersNote(value="No @Nullable annotation as we can make no assumptions on the state") DATATYPE create(PARAMTYPE aParameter)
aParameter - The parameter required to create the object. May be
null depending on the implementation.null depending on the
implementation.Copyright © 2014–2016 Philip Helger. All rights reserved.