Version 1 (modified by wouter, 5 years ago) ( diff )

--

Tree

Maven include:

<dependency>
	<groupId>tudelft.utilities</groupId>
	<artifactId>tree</artifactId>
	<version>1.0.0</version>
</dependency>

available on

<repository>
	<id>artifactory.ewi.tudelft.nl</id>
	<url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
	<snapshots>
		<enabled>false</enabled>
	</snapshots>
</repository>

Tree contains code to support immutable attribute Trees. The following classes are avaialble

Class | Brief description
Tree an interface defining the type of the labels, attributes and treenode types. It also contains a function get(nodeLabel) which returns a treenode.
TreeNode The immutable tree node. Each node has getLabel, getAttribute, getChildren and getChild
TreeMatcher interface to get a list of differences between two trees
LabelThenAttributeMatcher TreeMatcher implementation, that compares the labels and the attributes
Note: See TracWiki for help on using the wiki.