Package examples
Class CycleExample
java.lang.Object
examples.CycleExample
Example use of Introspector with graphs where cycles exist (not as a tree).
The cycles are represented as repeated nodes, so they could be expanded infinitive.
When visualized, click on the "expand all" button to see how it controls the cycles (i.e., it does not expand the same node infinitely).
When reporting the tree, the cycles are reported with tags (all the information parameter must be set to true).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classExample class.(package private) static classExample class.(package private) static classExample class that may have cycles.(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
-
CycleExample
public CycleExample()
-
-
Method Details
-
main
-