Package com.helger.tree.withid.unique
Class DefaultTreeWithGlobalUniqueID<KEYTYPE,DATATYPE>
- java.lang.Object
-
- com.helger.tree.withid.BasicTreeWithID<KEYTYPE,DATATYPE,ITEMTYPE>
-
- com.helger.tree.withid.unique.BasicTreeWithGlobalUniqueID<KEYTYPE,DATATYPE,DefaultTreeItemWithID<KEYTYPE,DATATYPE>>
-
- com.helger.tree.withid.unique.DefaultTreeWithGlobalUniqueID<KEYTYPE,DATATYPE>
-
- Type Parameters:
KEYTYPE- The type of the key elements for the tree.DATATYPE- The type of the elements contained in the tree
- All Implemented Interfaces:
com.helger.commons.hierarchy.IChildrenProvider<DefaultTreeItemWithID<KEYTYPE,DATATYPE>>,com.helger.commons.hierarchy.IChildrenProviderWithID<KEYTYPE,DefaultTreeItemWithID<KEYTYPE,DATATYPE>>,com.helger.commons.hierarchy.IHasChildren<DefaultTreeItemWithID<KEYTYPE,DATATYPE>>,IBasicTree<DATATYPE,DefaultTreeItemWithID<KEYTYPE,DATATYPE>>,ITreeWithID<KEYTYPE,DATATYPE,DefaultTreeItemWithID<KEYTYPE,DATATYPE>>,ITreeWithGlobalUniqueID<KEYTYPE,DATATYPE,DefaultTreeItemWithID<KEYTYPE,DATATYPE>>
@NotThreadSafe public class DefaultTreeWithGlobalUniqueID<KEYTYPE,DATATYPE> extends BasicTreeWithGlobalUniqueID<KEYTYPE,DATATYPE,DefaultTreeItemWithID<KEYTYPE,DATATYPE>>
A managed tree is a specialized version of the tree, where each item is required to have a unique ID so that item searching can be performed quite easily.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description DefaultTreeWithGlobalUniqueID()DefaultTreeWithGlobalUniqueID(ITreeItemWithUniqueIDFactory<KEYTYPE,DATATYPE,DefaultTreeItemWithID<KEYTYPE,DATATYPE>> aFactory)
-
Method Summary
-
Methods inherited from class com.helger.tree.withid.unique.BasicTreeWithGlobalUniqueID
containsItemWithID, equals, getAllChildren, getAllItemDatas, getAllItems, getChildCount, getChildWithID, getFactory, getItemCount, getItemDataWithID, getItemWithID, hasChildren, hashCode, isItemSameOrDescendant, removeItemWithID, toString
-
Methods inherited from class com.helger.tree.withid.BasicTreeWithID
forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getAllChildren, getChildCount, getChildren, getRootItem, hasChildren
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.tree.IBasicTree
getRootItem
-
-
-
-
Constructor Detail
-
DefaultTreeWithGlobalUniqueID
public DefaultTreeWithGlobalUniqueID()
-
DefaultTreeWithGlobalUniqueID
public DefaultTreeWithGlobalUniqueID(@Nonnull ITreeItemWithUniqueIDFactory<KEYTYPE,DATATYPE,DefaultTreeItemWithID<KEYTYPE,DATATYPE>> aFactory)
-
-