I'm a newbie in Java who used PHP before that. I want to define an array in Java with a key for each array entry like in PHP. For example, in PHP I would have this:
$my_arr = array('one'=>1, 'two'=>2, 'three'=>3);
How would I define this array in Java?