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