KEYTYPE - The type of the element keys.DATATYPE - The type of the elements contained in the treeCOLLTYPE - the collection type consisting of value elements@NotThreadSafe public class DefaultFolderTree<KEYTYPE,DATATYPE,COLLTYPE extends Collection<DATATYPE>> extends BasicFolderTree<KEYTYPE,DATATYPE,COLLTYPE,DefaultFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE>>
| Constructor and Description |
|---|
DefaultFolderTree(ICombinator<KEYTYPE> aKeyCombinator)
Constructor that creates a
DefaultFolderTreeItemFactory using the
passed key combinator. |
DefaultFolderTree(IFolderTreeItemFactory<KEYTYPE,DATATYPE,COLLTYPE,DefaultFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE>> aFactory)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> DefaultFolderTree<K,V,Set<V>> |
createForSet(ICombinator<K> aKeyCombinator)
Create a new
DefaultFolderTree using a set as the container. |
containsItemWithID, equals, getAllItemDatas, getAllItems, getChildCount, getChildren, getChildWithID, getFactory, getItemDataWithID, getItemWithID, hasChildren, hashCode, isItemSameOrDescendant, removeItemWithID, toStringgetRootItemclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainsItemWithID, getAllItemDatas, getAllItems, getItemDataWithID, getItemWithID, isItemSameOrDescendant, removeItemWithIDgetRootItemgetChildWithIDgetChildCount, getChildren, hasChildrenpublic DefaultFolderTree(@Nullable ICombinator<KEYTYPE> aKeyCombinator)
DefaultFolderTreeItemFactory using the
passed key combinator.aKeyCombinator - The key combinator to be used. May be null.public DefaultFolderTree(@Nonnull IFolderTreeItemFactory<KEYTYPE,DATATYPE,COLLTYPE,DefaultFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE>> aFactory)
aFactory - The item factory to use. May not be null.@Nonnull public static <K,V> DefaultFolderTree<K,V,Set<V>> createForSet(@Nonnull ICombinator<K> aKeyCombinator)
DefaultFolderTree using a set as the container.aKeyCombinator - The key combinator to be usedCopyright © 2006–2015 phloc systems. All rights reserved.