Hi all, Let me first say that I have posted this in sun forums and it didnt work out for me. I am reframing my question here for your valuable suggestions and comments.
This is the general format in which I get data from database(This is an example where the group names and user names are variables and the other syntax will be exactly the same). Literally I do not know what kind of string is this and what to do with this.
I need an output of the format
For users with no groups, it should be
I would like to have these outputs in some array or as any collection in Java. How can I accomplish this?