DATATYPE - item value typeITEMTYPE - item implementation typepublic interface ITreeItemFactory<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>> extends IHierarchicalFactory<ITEMTYPE>, IHierarchicalRootFactory<ITEMTYPE>
| Modifier and Type | Method and Description |
|---|---|
ITEMTYPE |
create(ITEMTYPE aParent)
Create an object of the desired type.
|
ITEMTYPE |
createRoot()
Create the root object.
|
@Nonnull ITEMTYPE createRoot()
createRoot in interface IHierarchicalRootFactory<ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>null depending on the
implementation.Copyright © 2014–2016 Philip Helger. All rights reserved.