Ever wish that Java had associative arrays (aka assoc arrays) like in PHP? As in, $x["name"] = "Bill" ? Well, I created a helper class for Java which comes close to approximating it. It can even loop through it similar to foreach().
I call the class PseudoAssocArray, because it actually uses a HashMap to do the behind the scenes work.
Simply download and import the file in your project, then use it like so: