Package examples
Class TwoTreesComparisonAPIExample
java.lang.Object
examples.TwoTreesComparisonAPIExample
Example use of Introspector showing how to compare two trees programmatically with no visual representation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classExample child class representing an intermediate node.(package private) static final recordExample record.(package private) static classExample class whose objects will be used as root nodes of a tree to be visualized. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TwoTreesComparisonAPIExample
public TwoTreesComparisonAPIExample()
-
-
Method Details
-
main
Main method that creates two trees and compares them.
-