I want to create multiple key/value arrays in Java that will sit in a master array. I then want to be able to loop through the master array and grab the key/value of each array.
I want the array to be in a similar style to this XML:
<snippets>
<snippet1>
<name>Name</name>
<desc>Desc</desc>
</snippet1>
<snippet2>
<name>Name</name>
<desc>Desc</desc>
</snippet2>
</snippets>
or is there a way I can do this without using arrays?