Package examples
Class SingletonExample
java.lang.Object
examples.SingletonExample
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.
A direct recursive type is the Singleton design pattern.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classExample Singleton class that has a direct recursive reference (cycle) via its instance field. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SingletonExample
public SingletonExample()
-
-
Method Details
-
main
-