KEYTYPE - Key typeDATATYPE - Value typeCOLLTYPE - Collection type consisting of value elements@NotThreadSafe public class DefaultFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE extends Collection<DATATYPE>> extends BasicFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE,DefaultFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE>>
IFolderTreeItem interface.| Constructor and Description |
|---|
DefaultFolderTreeItem(DefaultFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE> aParent,
KEYTYPE aDataID)
Constructor for normal elements
|
DefaultFolderTreeItem(IFolderTreeItemFactory<KEYTYPE,DATATYPE,COLLTYPE,DefaultFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE>> aFactory)
Constructor for root object
|
equals, getGlobalUniqueDataID, hashCode, toStringchangeParent, containsChildItemWithDataID, createChildItem, createChildItem, getAllChildDataIDs, getAllChildDatas, getAllChildren, getChildAtIndex, getChildCount, getChildItemOfDataID, getData, getFactory, getFirstChild, getID, getLastChild, getLevel, getParent, getParentData, getParentID, hasChildren, internalAddChild, isRootItem, isSameOrChildOf, isValidData, isValidDataID, removeAllChildren, removeChild, reorderChildrenByItems, setDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainsChildItemWithDataID, createChildItem, createChildItem, getAllChildDataIDs, getChildItemOfDataID, getFactory, getID, getParentID, internalAddChild, removeAllChildren, removeChild, reorderChildrenByItemschangeParent, getAllChildDatas, getData, getLevel, getParentData, isRootItem, isSameOrChildOf, setDatagetParentgetAllChildren, getChildAtIndex, getFirstChild, getLastChildgetChildCount, hasChildren, hasNoChildrenthisAsTgetComparatorIDpublic DefaultFolderTreeItem(@Nonnull IFolderTreeItemFactory<KEYTYPE,DATATYPE,COLLTYPE,DefaultFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE>> aFactory)
aFactory - The item factory to use.public DefaultFolderTreeItem(@Nonnull DefaultFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE> aParent, @Nonnull KEYTYPE aDataID)
aParent - Parent item. May never be null since only the root has
no parent.aDataID - The ID of the new item. May not be null.Copyright © 2014–2016 Philip Helger. All rights reserved.