DATATYPE - The type of object to create.@FunctionalInterface public interface IHierarchicalFactory<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)
aParent - The parent item to use. May never be null.Copyright © 2014–2016 Philip Helger. All rights reserved.