KEYTYPE - tree item key typeDATATYPE - tree item value type@NotThreadSafe public class DefaultTreeItemWithIDFactory<KEYTYPE,DATATYPE> extends AbstractTreeItemWithIDFactory<KEYTYPE,DATATYPE,DefaultTreeItemWithID<KEYTYPE,DATATYPE>>
AbstractTreeItemWithIDFactory using the
item type DefaultTreeItemWithID.| Constructor and Description |
|---|
DefaultTreeItemWithIDFactory() |
| Modifier and Type | Method and Description |
|---|---|
DefaultTreeItemWithID<KEYTYPE,DATATYPE> |
create(DefaultTreeItemWithID<KEYTYPE,DATATYPE> aParent,
KEYTYPE aDataID)
Create an object of the desired type.
|
DefaultTreeItemWithID<KEYTYPE,DATATYPE> |
createRoot()
Create the root object.
|
onAddItem, onRemoveItem@Nonnull public DefaultTreeItemWithID<KEYTYPE,DATATYPE> createRoot()
ITreeItemWithIDFactorynull depending on the
implementation.@Nonnull public DefaultTreeItemWithID<KEYTYPE,DATATYPE> create(@Nonnull DefaultTreeItemWithID<KEYTYPE,DATATYPE> aParent, @Nonnull KEYTYPE aDataID)
ITreeItemWithIDFactoryaParent - The parent item to use. May be null depending on the
implementation.aDataID - The parameter to be passed. May be null depending on
the implementation.null depending on the
implementation.Copyright © 2006–2015 phloc systems. All rights reserved.