Reputation: 4923
Is there any Java library to visualize common data structures (viz.stack queue LL etc) and their access methods? I just want to simulate what my data structure is doing..
Upvotes: 6
Views: 2296
Reputation: 2241
You can also use JGraphT.
You can find relevant discussion here: Stackoverflow - Good Java Graph Algorithm Library
Upvotes: 0
Reputation: 12623
If you just want to visualize the data, check out JUNG
:
If you're talking about visualizing what your code is doing to the data, JUNG
might still help with that, but just Google searching gave me a lot of results, so try that.
Upvotes: 2
Reputation: 17425
I didn't quite understand your questions:
Do you:
1) want to learn how they work? try google, you will find many good applets which explain the working of algorithms and data structures through simple animation.
2) want to see the behavior in your app, run the app in debug mode.
Upvotes: 0