Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data structure composability #78

Open
cashaffer opened this issue Jun 22, 2012 · 0 comments
Open

Data structure composability #78

cashaffer opened this issue Jun 22, 2012 · 0 comments

Comments

@cashaffer
Copy link
Collaborator

A use case for this feature is Figure 7.17 on Page 247 of http://people.cs.vt.edu/~shaffer/Book/JAVA3e20120605.pdf

I would like a way (in this example) to define a JSAV array where the elements of the array are JSAV linked lists, and each array position contains a pointer to its linked list.

Comment from Ville:

I'm not sure what you describe above as an example is a feature of the linked
list or array or JSAV in general. The way the kind of setup you describe can be
achieved once issue #68 is implemented is to have an array, graphical primitive
lines positioned relative to array indices, and linked lists positioned
relative to the array index/lines.

I would prefer if there were a simpler mechanism than the AV developer doing this by hand as described here. I don't want to have to explicitly lay out the link from the array cell to the linked list and position each linked list. I just want to define the relationships in a fairly intuitive way (by declaring the elements of the array to be JSAV objects), and then have the layout handled for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant