Array/list of hashmap?
<p>I am coming from the world of Perl programming and am unfamiliar with how one would create a list of hashes in Java.</p>

<p>In perl, creating a list of hashes is easy.
<code><pre>
@rows = (
 { food=>'pizza'},
 { drink=>'coke'}
);
</pre></code></p>

<p>Reading it out is just as easy:</p>

<p><code><pre>
foreach my $row (@$rows){
 print $row->{food};
 print $row->{drink};
}
</pre></code></p>

<p>How would one accomplish something similar in Java? Either with just strings, or also with the possibility of objects as well?</p>
