I have a hashmap of words, and the frequency I want to use the frequency as an integer
for (Map.Entry me : hm.entrySet()) {
int freq = me.getValue();
//do something with int
}
This keeps getting different errors:
Cannot convert from Object to int
, The method parseInt(boolean) in the type PApplet is not applicable for the arguments (object)
How do I workaround this?