| Modifier and Type | Class and Description |
|---|---|
class |
FileSystemFolderTree
Represents a folder tree with the file system contents.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractApplicationSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
class |
AbstractGlobalSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
class |
AbstractRequestSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
class |
AbstractSessionApplicationSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
class |
AbstractSessionSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ITree<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>
Base interface for a simple tree
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicTree<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>
Root class for a simple tree.
|
class |
DefaultTree<DATATYPE>
Default implementation of the
ITree interface using
DefaultTreeItem tree items |
| Modifier and Type | Method and Description |
|---|---|
static <DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>> |
TreeSorter.sort(IBasicTree<? extends DATATYPE,ITEMTYPE> aTree,
Comparator<? super DATATYPE> aValueComparator)
Sort each level of the passed tree with the specified comparator.
|
static <DATATYPE extends Comparable<? super DATATYPE>,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>> |
TreeSorter.sort(IBasicTree<DATATYPE,ITEMTYPE> aTree)
Sort each level of the passed tree with the specified comparator.
|
static <KEYTYPE extends Comparable<? super KEYTYPE>,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>> |
TreeWithIDSorter.sortByID(IBasicTree<DATATYPE,ITEMTYPE> aTree)
Sort each level of the passed tree on the ID with the specified comparator.
|
static <KEYTYPE,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>> |
TreeWithIDSorter.sortByID(IBasicTree<DATATYPE,ITEMTYPE> aTree,
Comparator<? super KEYTYPE> aKeyComparator)
Sort each level of the passed tree on the ID with the specified comparator.
|
static <KEYTYPE,DATATYPE extends Comparable<? super DATATYPE>,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>> |
TreeWithIDSorter.sortByValue(IBasicTree<DATATYPE,ITEMTYPE> aTree)
Sort each level of the passed tree on the value with the specified
comparator.
|
static <KEYTYPE,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>> |
TreeWithIDSorter.sortByValue(IBasicTree<DATATYPE,ITEMTYPE> aTree,
Comparator<? super DATATYPE> aValueComparator)
Sort each level of the passed tree on the value with the specified
comparator.
|
| Modifier and Type | Method and Description |
|---|---|
static <KEYTYPE,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>> |
TreeWithIDSearcher.findAllItemsWithIDRecursive(IBasicTree<DATATYPE,ITEMTYPE> aTree,
KEYTYPE aSearchID)
Fill all items with the same ID by linearly scanning of the tree.
|
static <DATATYPE,ITEMTYPE extends IBasicTreeItem<DATATYPE,ITEMTYPE>> |
TreeVisitor.visitTree(IBasicTree<DATATYPE,ITEMTYPE> aTree,
IChildrenProvider<ITEMTYPE> aChildrenResolver,
IHierarchyVisitorCallback<? super ITEMTYPE> aCallback) |
static <DATATYPE,ITEMTYPE extends IBasicTreeItem<DATATYPE,ITEMTYPE>> |
TreeVisitor.visitTree(IBasicTree<DATATYPE,ITEMTYPE> aTree,
IHierarchyVisitorCallback<? super ITEMTYPE> aCallback) |
static <DATATYPE,ITEMTYPE extends IBasicTreeItem<DATATYPE,ITEMTYPE>> |
TreeVisitor.visitTreeData(IBasicTree<DATATYPE,ITEMTYPE> aTree,
IChildrenProvider<ITEMTYPE> aChildrenProvider,
IHierarchyVisitorCallback<? super DATATYPE> aDataCallback) |
static <DATATYPE,ITEMTYPE extends IBasicTreeItem<DATATYPE,ITEMTYPE>> |
TreeVisitor.visitTreeData(IBasicTree<DATATYPE,ITEMTYPE> aTree,
IHierarchyVisitorCallback<? super DATATYPE> aDataCallback) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ITreeWithID<KEYTYPE,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>>
Base interface for a tree with ID
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicTreeWithID<KEYTYPE,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>>
Base class for a tree having items with IDs.
|
class |
DefaultTreeWithID<KEYTYPE,DATATYPE>
Root class for a simple tree.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IFolderTree<KEYTYPE,DATATYPE,COLLTYPE extends Collection<DATATYPE>,ITEMTYPE extends IFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE,ITEMTYPE>>
Base interface for a simple tree.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicFolderTree<KEYTYPE,DATATYPE,COLLTYPE extends Collection<DATATYPE>,ITEMTYPE extends BasicFolderTreeItem<KEYTYPE,DATATYPE,COLLTYPE,ITEMTYPE>>
Abstract implementation class for a folder tree.
|
class |
DefaultFolderTree<KEYTYPE,DATATYPE,COLLTYPE extends Collection<DATATYPE>>
Root class for a simple tree.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ITreeWithGlobalUniqueID<KEYTYPE,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>>
A specialized version of the tree, where each item is required to have a
unique ID so that item searching can be performed with little runtime effort.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicTreeWithGlobalUniqueID<KEYTYPE,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>>
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.
|
class |
DefaultTreeWithGlobalUniqueID<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.
|
| Modifier and Type | Method and Description |
|---|---|
static <DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>> |
TreeXMLConverter.getTreeAsXML(IBasicTree<DATATYPE,ITEMTYPE> aTree,
Comparator<? super ITEMTYPE> aItemComparator,
IConverterTreeItemToMicroNode<? super DATATYPE> aDataConverter) |
static <KEYTYPE,DATATYPE,ITEMTYPE extends ITreeItemWithID<KEYTYPE,DATATYPE,ITEMTYPE>> |
TreeXMLConverter.getTreeWithIDAsXML(IBasicTree<DATATYPE,ITEMTYPE> aTree,
Comparator<? super ITEMTYPE> aItemComparator,
Function<KEYTYPE,String> aIDConverter,
IConverterTreeItemToMicroNode<? super DATATYPE> aDataConverter) |
static <DATATYPE,ITEMTYPE extends ITreeItemWithID<String,DATATYPE,ITEMTYPE>> |
TreeXMLConverter.getTreeWithStringIDAsXML(IBasicTree<DATATYPE,ITEMTYPE> aTree,
IConverterTreeItemToMicroNode<? super DATATYPE> aConverter)
Specialized conversion method for converting a tree with ID to a
standardized XML tree.
|
Copyright © 2014–2016 Philip Helger. All rights reserved.