| Package | Description |
|---|---|
| com.phloc.commons.tree.simple | |
| com.phloc.commons.tree.utils.sort | |
| com.phloc.commons.tree.utils.xml |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTreeItemFactory<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>
Abstract implementation of the
ITreeItemFactory interface |
class |
BasicTree<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>
Root class for a simple tree.
|
class |
BasicTreeItem<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>
Basic implementation of the
ITreeItem interface |
interface |
ITree<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>
Base interface for a simple tree
|
interface |
ITreeItem<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>
Base interface for simple tree items
|
interface |
ITreeItemFactory<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>
Interface for a simple tree item factory
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicTreeItem<DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>>
Basic implementation of the
ITreeItem interface |
class |
DefaultTreeItem<DATATYPE>
Default implementation of the
ITreeItem interface |
| Modifier and Type | Method and Description |
|---|---|
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 <DATATYPE,ITEMTYPE extends ITreeItem<DATATYPE,ITEMTYPE>> |
TreeSorter.sort(IBasicTree<DATATYPE,ITEMTYPE> aTree,
Comparator<? super DATATYPE> aValueComparator)
Sort each level of the passed tree with the specified comparator.
|
| 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) |
Copyright © 2006–2015 phloc systems. All rights reserved.