statement not compiling
<p>I have a method from decompiled code that i am trying to run and understand.
    The 5 line does not compile and i get an error saying
    incompatible types required: java util.Hashmap found: java.lang.String.</p>

<pre><code>private void resetFieldModel(HashMap&lt;String, Integer&gt; to_use_map)
{
    this.current_field_model.removeAllElements();
    Set temp_set = to_use_map.keySet();

    for (String s : temp_set)
    {
        this.current_field_model.addElement(s);
    }
}
</code></pre>
