title: Similar Data Structures in Java and PHP
body: <p>I am trying to port this application from PHP to Java. PHP makes things easy with their associate name arrays and the extract() function. For Java I am thinking about using a HashMap to simulate the Arrays in PHP. Is there a better data structure to use than this? And is there a function similar to extract in Java?</p>