DATATYPE - The type of object to create.public interface IHierarchicalFactory<DATATYPE> extends IFactoryWithParameter<DATATYPE,DATATYPE>
IHierarchicalRootFactory interface!| Modifier and Type | Method and Description |
|---|---|
DATATYPE |
create(DATATYPE aParent)
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)
create in interface IFactoryWithParameter<DATATYPE,DATATYPE>aParent - The parent item to use. May never be null.Copyright © 2014–2015 Philip Helger. All rights reserved.