added java hashmap method for MaxEnt model